File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -13904,6 +13904,7 @@ void Parser::ReleaseTemporaryGuestArena()
13904
13904
if (this ->m_scriptContext != nullptr )
13905
13905
{
13906
13906
this ->m_scriptContext ->ReleaseTemporaryGuestAllocator (m_tempGuestArena);
13907
+ m_tempGuestArena.Unroot ();
13907
13908
}
13908
13909
13909
13910
m_tempGuestArenaReleased = true ;
Original file line number Diff line number Diff line change @@ -2034,16 +2034,10 @@ namespace Js
2034
2034
ArenaAllocator * allocator = nullptr ;
2035
2035
2036
2036
#define ACQUIRE_TEMP_GUEST_ALLOCATOR (allocator, scriptContext, name ) \
2037
- TryFinally ([&]() \
2038
- { \
2039
- tempGuest##allocator = scriptContext->GetTemporaryGuestAllocator (name); \
2040
- allocator = tempGuest##allocator->GetAllocator ();
2037
+ tempGuest##allocator = scriptContext->GetTemporaryGuestAllocator (name); \
2038
+ allocator = tempGuest##allocator->GetAllocator ();
2041
2039
2042
2040
#define RELEASE_TEMP_GUEST_ALLOCATOR (allocator, scriptContext ) \
2043
- }, \
2044
- [&](bool /* hasException*/ ) \
2045
- { \
2046
- if (tempGuest##allocator) \
2047
- scriptContext->ReleaseTemporaryGuestAllocator (tempGuest##allocator); \
2048
- });
2041
+ if (tempGuest##allocator) \
2042
+ scriptContext->ReleaseTemporaryGuestAllocator (tempGuest##allocator);
2049
2043
Original file line number Diff line number Diff line change 646
646
<files >memset_invariant.js</files >
647
647
<tags >Slow</tags >
648
648
<compile-flags >-mic:1 -off:simplejit -mmoc:0 -off:JITLoopBody</compile-flags >
649
+ <timeout >300</timeout >
649
650
</default >
650
651
</test >
651
652
<!--
You can’t perform that action at this time.
0 commit comments