Changeset 160497 in webkit
- Timestamp:
- Dec 12, 2013, 11:21:09 AM (11 years ago)
- Location:
- branches/jsCStack/Source/JavaScriptCore
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/jsCStack/Source/JavaScriptCore/ChangeLog
r160477 r160497 1 2013-12-12 Mark Lam <mark.lam@apple.com> 2 3 Rename returnFromJavaScript to handleUncaughtException. 4 https://bugs.webkit.org/show_bug.cgi?id=125613. 5 6 Reviewed by Filip Pizlo. 7 8 Also did a few minor fixes to get the C Loop LLINT offline asm stage 9 to build properly, and also some trivial changes to minimize the 10 compile errors for LowLevelInterpreter.cpp. It doesn't build completely 11 and run yet since we'll need to update it for CStack changes that have 12 not been implemented for the C Loop LLINT yet. 13 14 * interpreter/Interpreter.cpp: 15 (JSC::unwindCallFrame): 16 * jit/JITExceptions.cpp: 17 (JSC::genericUnwind): 18 * jit/JITStubs.h: 19 * jit/JITStubsMSVC64.asm: 20 * jit/JITStubsX86.h: 21 * llint/LLIntOpcode.h: 22 * llint/LLIntThunks.h: 23 * llint/LowLevelInterpreter.cpp: 24 (JSC::CLoop::execute): 25 * llint/LowLevelInterpreter32_64.asm: 26 * llint/LowLevelInterpreter64.asm: 27 * offlineasm/cloop.rb: 28 1 29 2013-12-11 Michael Saboff <msaboff@apple.com> 2 30 -
branches/jsCStack/Source/JavaScriptCore/interpreter/Interpreter.cpp
r160267 r160497 460 460 callFrame->vm().topCallFrame = callerFrame->vmEntrySentinelCallerFrame(); 461 461 else 462 callFrame->vm().topCallFrame = callFrame; // _ returnFromJavaScriptwill pop the frame off.462 callFrame->vm().topCallFrame = callFrame; // _handleUncaughtException will pop the frame off. 463 463 return false; 464 464 } -
branches/jsCStack/Source/JavaScriptCore/jit/JITExceptions.cpp
r160186 r160497 57 57 #endif 58 58 } else 59 catchRoutine = LLInt::getCodePtr( returnFromJavaScript);59 catchRoutine = LLInt::getCodePtr(handleUncaughtException); 60 60 61 61 vm->callFrameForThrow = callFrame; -
branches/jsCStack/Source/JavaScriptCore/jit/JITStubs.h
r160094 r160497 44 44 extern "C" { 45 45 EncodedJSValue callToJavaScript(void*, ExecState**, ProtoCallFrame*, Register*); 46 void returnFromJavaScript();46 void handleUncaughtException(); 47 47 EncodedJSValue callToNativeFunction(void*, ExecState**, ProtoCallFrame*, Register*); 48 48 } -
branches/jsCStack/Source/JavaScriptCore/jit/JITStubsMSVC64.asm
r160094 r160497 27 27 28 28 PUBLIC callToJavaScript 29 PUBLIC returnFromJavaScript29 PUBLIC handleUncaughtException 30 30 PUBLIC getHostCallReturnValue 31 31 … … 236 236 callToNativeFunction ENDP 237 237 238 returnFromJavaScriptPROC238 handleUncaughtException PROC 239 239 add rsp, 28h 240 240 pop rdi … … 247 247 pop rbp 248 248 ret 249 returnFromJavaScriptENDP249 handleUncaughtException ENDP 250 250 251 251 getHostCallReturnValue PROC -
branches/jsCStack/Source/JavaScriptCore/jit/JITStubsX86.h
r160094 r160497 307 307 } 308 308 309 __declspec(naked) void returnFromJavaScript()309 __declspec(naked) void handleUncaughtException() 310 310 { 311 311 __asm { -
branches/jsCStack/Source/JavaScriptCore/llint/LLIntOpcode.h
r160186 r160497 35 35 #define FOR_EACH_LLINT_NOJIT_NATIVE_HELPER(macro) \ 36 36 macro(getHostCallReturnValue, 1) \ 37 macro( returnFromJavaScript, 1)37 macro(handleUncaughtException, 1) 38 38 39 39 #else // !ENABLE(LLINT_C_LOOP) -
branches/jsCStack/Source/JavaScriptCore/llint/LLIntThunks.h
r160186 r160497 44 44 EncodedJSValue callToNativeFunction(void*, ExecState**, ProtoCallFrame*, Register*); 45 45 #if ENABLE(JIT) 46 void returnFromJavaScript();46 void handleUncaughtException(); 47 47 #endif 48 48 } -
branches/jsCStack/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
r160186 r160497 309 309 // 3. 64 bit result values will be in t0. 310 310 311 CLoopRegister t0, t1, t2, t3 ;311 CLoopRegister t0, t1, t2, t3, t5, sp; 312 312 #if USE(JSVALUE64) 313 313 CLoopRegister rBasePC, tagTypeNumber, tagMask; … … 432 432 } 433 433 434 OFFLINE_ASM_GLUE_LABEL( returnFromJavaScript)434 OFFLINE_ASM_GLUE_LABEL(handleUncaughtException) 435 435 { 436 436 return vm->exception(); -
branches/jsCStack/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
r160253 r160497 344 344 end 345 345 346 macro do ReturnFromJavaScript(extraStackSpace)347 _ returnFromJavaScript:346 macro doHandleUncaughtException(extraStackSpace) 347 _handleUncaughtException: 348 348 functionEpilogue(extraStackSpace) 349 349 ret -
branches/jsCStack/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm
r160468 r160497 291 291 292 292 293 _ returnFromJavaScript:293 _handleUncaughtException: 294 294 subp 16, sp 295 295 -
branches/jsCStack/Source/JavaScriptCore/offlineasm/cloop.rb
r160091 r160497 95 95 when "t4" 96 96 "rPC" 97 when "t5" 98 "t5" 97 99 when "t6" 98 100 "rBasePC" … … 1098 1100 1099 1101 when "memfence" 1102 when "pop" 1103 $asm.putc "#error FIXME: Need implementation for pop" 1100 1104 when "pushCalleeSaves" 1101 1105 when "popCalleeSaves"
Note:
See TracChangeset
for help on using the changeset viewer.