Changeset 160186 in webkit for trunk/Source/JavaScriptCore/jit/JITExceptions.cpp
- Timestamp:
- Dec 5, 2013, 12:33:35 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITExceptions.cpp
r159321 r160186 1 1 /* 2 * Copyright (C) 2012 Apple Inc. All rights reserved.2 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 40 40 #include "VM.h" 41 41 42 #if ENABLE(JIT) || ENABLE(LLINT)43 44 42 namespace JSC { 45 43 … … 53 51 if (handler) { 54 52 catchPCForInterpreter = &callFrame->codeBlock()->instructions()[handler->target]; 55 catchRoutine = ExecutableBase::catchRoutineFor(handler, catchPCForInterpreter); 56 } else { 57 #if ENABLE(LLINT_C_LOOP) 58 catchRoutine = LLInt::getCodePtr(ctiOpThrowNotCaught); 53 #if ENABLE(JIT) 54 catchRoutine = handler->nativeCode.executableAddress(); 59 55 #else 60 catchRoutine = FunctionPtr(LLInt::getCodePtr(returnFromJavaScript)).value();56 catchRoutine = catchPCForInterpreter->u.pointer; 61 57 #endif 62 } 58 } else 59 catchRoutine = LLInt::getCodePtr(returnFromJavaScript); 63 60 64 61 vm->callFrameForThrow = callFrame; … … 69 66 } 70 67 71 } 72 73 #endif 68 } // namespace JSC
Note:
See TracChangeset
for help on using the changeset viewer.