Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
36 lines (33 loc) · 1.69 KB

File metadata and controls

36 lines (33 loc) · 1.69 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
::-------------------------------------------------------------------------------------------------------
:: Copyright (C) Microsoft. All rights reserved.
:: Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
::-------------------------------------------------------------------------------------------------------
:: WARNING: be careful when using this script as it assumes that
:: you already have bytecode-format-compatible builds for all required flavors.
:: This script helps speed things up when you are only making changes to scripts,
:: e.g. Intl.js, without making any changes to bytecode format, since rebuilding
:: every flavor of ChakraCore.dll when there are no relevant changes is a waste of time.
:: Please ensure that you use buddy builds to validate the results.
:: Note, this script is windows only, on linux or macOS please use tools/xplatRegenByteCode.py
:: Regenerate all bytecode (without rebuilding each flavor of ch.exe)
:: ch.exe is used to generate Intl bytecodes.
:: ch.exe (NoJIT variety) is used to generate NoJIT Intl bytecodes.
:: Each set of bytecode requires an x86_debug and x64_debug binary.
::
:: Thus we need to already have compatible builds of the following:
:: [Core] ch.exe x64_debug
:: [Core] ch.exe x86_debug
:: [Core] ch.exe x64_debug (NoJIT)
:: [Core] ch.exe x86_debug (NoJIT)
@echo off
setlocal
set _reporoot=%~dp0
pushd %_reporoot%\lib\Runtime\Library\InJavascript
call GenByteCode.cmd
call GenByteCode.cmd -nojit
popd
pushd %_reporoot%\lib\Runtime\Library\JsBuiltIn
call GenByteCode.cmd
call GenByteCode.cmd -nojit
popd
endlocal
Morty Proxy This is a proxified and sanitized view of the page, visit original site.