Changeset 262478 in webkit for trunk/Source/JavaScriptCore/ftl/FTLOSRExitCompiler.cpp
- Timestamp:
- Jun 2, 2020, 11:25:50 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ftl/FTLOSRExitCompiler.cpp
r262475 r262478 212 212 // materialization below. 213 213 214 // Even though we set Heap::m_ doesGC in compileFTLOSRExit(), we also need214 // Even though we set Heap::m_expectDoesGC in compileFTLOSRExit(), we also need 215 215 // to set it here because compileFTLOSRExit() is only called on the first time 216 216 // we exit from this site, but all subsequent exits will take this compiled 217 217 // ramp without calling compileFTLOSRExit() first. 218 jit.store 64(CCallHelpers::TrustedImm64(DoesGCCheck::encode(true, DoesGCCheck::Special::FTLOSRExit)), vm.heap.addressOfDoesGC());218 jit.store8(CCallHelpers::TrustedImm32(true), vm.heap.addressOfExpectDoesGC()); 219 219 } 220 220 … … 549 549 // We're about to exit optimized code. So, there's no longer any optimized 550 550 // code running that expects no GC. 551 vm.heap.set DoesGCExpectation(true, DoesGCCheck::Special::FTLOSRExit);551 vm.heap.setExpectDoesGC(true); 552 552 } 553 553
Note:
See TracChangeset
for help on using the changeset viewer.