Changeset 292447 in webkit for trunk/Source/JavaScriptCore/dfg
- Timestamp:
- Apr 5, 2022, 8:41:00 PM (3 years ago)
- Location:
- trunk/Source/JavaScriptCore/dfg
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGJITCompiler.cpp
r292445 r292447 112 112 // both normal return code and when jumping to an exception handler). 113 113 emitFunctionPrologue(); 114 #if ASSERT_ENABLED 115 probeDebug([=](Probe::Context& ctx) { 116 CodeBlock* codeBlock = ctx.fp<CallFrame*>()->codeBlock(); 117 RELEASE_ASSERT(codeBlock->jitType() == JITType::DFGJIT); 118 }); 119 #endif 114 jitAssertCodeBlockOnCallFrameWithType(GPRInfo::regT2, JITType::DFGJIT); 120 115 } 121 116 -
trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp
r292445 r292447 2217 2217 m_jit.addPtr(CCallHelpers::TrustedImm32(-(m_graph.frameRegisterCount() * sizeof(Register))), GPRInfo::callFrameRegister, CCallHelpers::stackPointerRegister); 2218 2218 m_jit.emitSaveCalleeSaves(); 2219 // CodeBlock in the stack is already replaced in OSR entry. 2220 #if USE(JSVALUE64) 2221 // Use numberTagRegister as a scratch since it is recovered after this. 2222 m_jit.jitAssertCodeBlockOnCallFrameWithType(GPRInfo::numberTagRegister, JITType::DFGJIT); 2223 #endif 2219 2224 m_jit.emitMaterializeTagCheckRegisters(); 2220 // CodeBlock in the stack is already replaced in OSR entry.2221 2225 } 2222 2226 -
trunk/Source/JavaScriptCore/dfg/DFGThunks.cpp
r292372 r292447 164 164 ok.link(&jit); 165 165 166 #if ASSERT_ENABLED 167 jit.probeDebug([](Probe::Context& ctx) { 168 CodeBlock* codeBlock = ctx.fp<CallFrame*>()->codeBlock(); 169 RELEASE_ASSERT(JITCode::isOptimizingJIT(codeBlock->jitType())); 170 }); 171 #endif 166 jit.jitAssertCodeBlockOnCallFrameIsOptimizingJIT(GPRInfo::regT2); 172 167 173 168 jit.restoreCalleeSavesFromEntryFrameCalleeSavesBuffer(vm.topEntryFrame);
Note:
See TracChangeset
for help on using the changeset viewer.