Changeset 157636 in webkit for trunk/Source/JavaScriptCore/jit/JITExceptions.cpp
- Timestamp:
- Oct 18, 2013, 9:25:02 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITExceptions.cpp
r156242 r157636 39 39 namespace JSC { 40 40 41 #if USE(JSVALUE32_64) 42 EncodedExceptionHandler encode(ExceptionHandler handler) 43 { 44 ExceptionHandlerUnion u; 45 u.handler = handler; 46 return u.encodedHandler; 47 } 48 #endif 49 50 ExceptionHandler uncaughtExceptionHandler() 51 { 52 void* catchRoutine = FunctionPtr(LLInt::getCodePtr(ctiOpThrowNotCaught)).value(); 53 ExceptionHandler exceptionHandler = { 0, catchRoutine}; 54 return exceptionHandler; 55 } 56 57 ExceptionHandler genericUnwind(VM* vm, ExecState* callFrame, JSValue exceptionValue) 41 void genericUnwind(VM* vm, ExecState* callFrame, JSValue exceptionValue) 58 42 { 59 43 RELEASE_ASSERT(exceptionValue); … … 73 57 74 58 RELEASE_ASSERT(catchRoutine); 75 ExceptionHandler exceptionHandler = { callFrame, catchRoutine};76 return exceptionHandler;77 59 } 78 60
Note:
See TracChangeset
for help on using the changeset viewer.