Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 6bdbd08

Browse files
agarwal-sandeepchakrabot
authored andcommitted
deps: update ChakraCore to chakra-core/ChakraCore@a9a368f3da
[1.8>1.9] [MERGE #4647 @agarwal-sandeep] OS#15659337: Try to allocate JIT code in PreReservedSegment even if CFG is not enabled Merge pull request #4647 from agarwal-sandeep:vso15659337 This speeds up stack walking IsNativeAddress checks when CFG is not enabled. Reviewed-By: chakrabot <chakrabot@users.noreply.github.com>
1 parent d657866 commit 6bdbd08

File tree

1 file changed

+2
-3
lines changed
  • deps/chakrashim/core/lib/Backend

1 file changed

+2
-3
lines changed

deps/chakrashim/core/lib/Backend/Func.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,12 +1140,11 @@ Func::IsAggressiveIntTypeSpecDisabled() const
11401140
return (HasProfileInfo() && GetReadOnlyProfileInfo()->IsAggressiveIntTypeSpecDisabled(IsLoopBody())) || m_output.IsAggressiveIntTypeSpecDisabled();
11411141
}
11421142

1143-
bool Func::CanAllocInPreReservedHeapPageSegment ()
1143+
bool Func::CanAllocInPreReservedHeapPageSegment()
11441144
{
11451145
#ifdef _CONTROL_FLOW_GUARD
11461146
return PHASE_FORCE1(Js::PreReservedHeapAllocPhase) || (!PHASE_OFF1(Js::PreReservedHeapAllocPhase) &&
1147-
!IsJitInDebugMode() && GetThreadContextInfo()->IsCFGEnabled()
1148-
//&& !GetScriptContext()->IsScriptContextInDebugMode()
1147+
!IsJitInDebugMode()
11491148
#if _M_IX86
11501149
&& m_workItem->GetJitMode() == ExecutionMode::FullJit
11511150

0 commit comments

Comments
 (0)