Skip to content

Commit 835028e

Browse files
committed
[MERGE chakra-core#1769 @Cellule] Wasm: Deferred parsing On by default
Merge pull request chakra-core#1769 from Cellule:users/micfer/wasm/deferred Make Wasm Deferred parsing on by default
2 parents 94e7d14 + 19e3092 commit 835028e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Runtime/Library/WasmLibrary.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ namespace Js
214214
funcObj->SetEnvironment(frameDisplay);
215215
localModuleFunctions[i] = funcObj;
216216

217-
if (PHASE_ON(WasmDeferredPhase, funcObj->GetFunctionBody()))
217+
if (!PHASE_OFF(WasmDeferredPhase, funcObj->GetFunctionBody()))
218218
{
219219
funcObj->GetDynamicType()->SetEntryPoint(WasmLibrary::WasmDeferredParseExternalThunk);
220220
entypointInfo->jsMethod = WasmLibrary::WasmDeferredParseInternalThunk;

0 commit comments

Comments
 (0)