Changeset 74454 in webkit for trunk/JavaScriptCore/runtime/JSGlobalObject.cpp
- Timestamp:
- Dec 21, 2010, 8:18:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSGlobalObject.cpp
r70496 r74454 456 456 } 457 457 458 DynamicGlobalObjectScope::DynamicGlobalObjectScope(CallFrame* callFrame, JSGlobalObject* dynamicGlobalObject) 459 : m_dynamicGlobalObjectSlot(callFrame->globalData().dynamicGlobalObject) 460 , m_savedDynamicGlobalObject(m_dynamicGlobalObjectSlot) 461 { 462 if (!m_dynamicGlobalObjectSlot) { 463 #if ENABLE(ASSEMBLER) 464 if (ExecutableAllocator::underMemoryPressure()) 465 callFrame->globalData().recompileAllJSFunctions(); 466 #endif 467 468 m_dynamicGlobalObjectSlot = dynamicGlobalObject; 469 470 // Reset the date cache between JS invocations to force the VM 471 // to observe time zone changes. 472 callFrame->globalData().resetDateCache(); 473 } 474 } 475 458 476 } // namespace JSC
Note:
See TracChangeset
for help on using the changeset viewer.