diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-09-10 19:10:20 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-09-10 19:10:20 +0200 |
commit | 284837daa07b29d6a63a748544a90b1f5842ac5c (patch) | |
tree | ecd258180bde91fe741e0cfd2638beb3c6da7e8e /Source/JavaScriptCore/llint/LLIntExceptions.cpp | |
parent | 2e2ba8ff45915f40ed3e014101269c175f2a89a0 (diff) | |
download | qtwebkit-284837daa07b29d6a63a748544a90b1f5842ac5c.tar.gz |
Imported WebKit commit 68645295d2e3e09af2c942f092556f06aa5f8b0d (http://svn.webkit.org/repository/webkit/trunk@128073)
New snapshot
Diffstat (limited to 'Source/JavaScriptCore/llint/LLIntExceptions.cpp')
-rw-r--r-- | Source/JavaScriptCore/llint/LLIntExceptions.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/llint/LLIntExceptions.cpp b/Source/JavaScriptCore/llint/LLIntExceptions.cpp index a915c42e3..80ca732ad 100644 --- a/Source/JavaScriptCore/llint/LLIntExceptions.cpp +++ b/Source/JavaScriptCore/llint/LLIntExceptions.cpp @@ -60,7 +60,8 @@ void interpreterThrowInCaller(ExecState* exec, ReturnAddressPtr pc) Instruction* returnToThrowForThrownException(ExecState* exec) { - return exec->globalData().llintData.exceptionInstructions(); + UNUSED_PARAM(exec); + return LLInt::exceptionInstructions(); } Instruction* returnToThrow(ExecState* exec, Instruction* pc) @@ -73,7 +74,7 @@ Instruction* returnToThrow(ExecState* exec, Instruction* pc) fixupPCforExceptionIfNeeded(exec); genericThrow(globalData, exec, globalData->exception, pc - exec->codeBlock()->instructions().begin()); - return globalData->llintData.exceptionInstructions(); + return LLInt::exceptionInstructions(); } void* callToThrow(ExecState* exec, Instruction* pc) @@ -85,8 +86,8 @@ void* callToThrow(ExecState* exec, Instruction* pc) #endif fixupPCforExceptionIfNeeded(exec); genericThrow(globalData, exec, globalData->exception, pc - exec->codeBlock()->instructions().begin()); - - return bitwise_cast<void*>(&llint_throw_during_call_trampoline); + + return LLInt::getCodePtr(llint_throw_during_call_trampoline); } } } // namespace JSC::LLInt |