Changeset 154156 in webkit for trunk/Source/JavaScriptCore/jit/JITStubs.cpp
- Timestamp:
- Aug 15, 2013, 6:47:41 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITStubs.cpp
r154016 r154156 418 418 template<typename T> static T throwExceptionFromOpCall(JITStackFrame& jitStackFrame, CallFrame* newCallFrame, ReturnAddressPtr& returnAddressSlot, ErrorFunctor& createError ) 419 419 { 420 CallFrame* callFrame = newCallFrame->callerFrame() ;420 CallFrame* callFrame = newCallFrame->callerFrame()->removeHostCallFrameFlag(); 421 421 jitStackFrame.callFrame = callFrame; 422 422 callFrame->vm().topCallFrame = callFrame; … … 2160 2160 2161 2161 #if USE(JSVALUE32_64) 2162 EncodedExceptionHandler JIT_STUB cti_vm_throw_slowpath(CallFrame* callFrame) 2163 { 2162 EncodedExceptionHandler JIT_STUB cti_vm_handle_exception(CallFrame* callFrame) 2163 { 2164 ASSERT(!callFrame->hasHostCallFrameFlag()); 2165 if (!callFrame) { 2166 // The entire stack has already been unwound. Nothing more to handle. 2167 return uncaughtExceptionHandler(); 2168 } 2169 2164 2170 VM* vm = callFrame->codeBlock()->vm(); 2165 2171 vm->topCallFrame = callFrame; … … 2167 2173 } 2168 2174 #else 2169 ExceptionHandler JIT_STUB cti_vm_throw_slowpath(CallFrame* callFrame) 2170 { 2175 ExceptionHandler JIT_STUB cti_vm_handle_exception(CallFrame* callFrame) 2176 { 2177 ASSERT(!callFrame->hasHostCallFrameFlag()); 2178 if (!callFrame) { 2179 // The entire stack has already been unwound. Nothing more to handle. 2180 return uncaughtExceptionHandler(); 2181 } 2182 2171 2183 VM* vm = callFrame->codeBlock()->vm(); 2172 2184 vm->topCallFrame = callFrame;
Note:
See TracChangeset
for help on using the changeset viewer.