diff options
author | Jedrzej Nowacki <jedrzej.nowacki@nokia.com> | 2009-09-01 14:24:24 (GMT) |
---|---|---|
committer | Jedrzej Nowacki <jedrzej.nowacki@nokia.com> | 2009-09-01 14:53:01 (GMT) |
commit | 2a521d8d26577bfe0487a48c0d723e14e67ee0b5 (patch) | |
tree | e2aab5ff9a54103c76fb5dc7d2c9ce4de4484f4d /src/3rdparty/webkit/JavaScriptCore/jit/JITOpcodes.cpp | |
parent | 31e4c350981e10076ce4f2f1ecc7076983b9cefa (diff) | |
download | Qt-2a521d8d26577bfe0487a48c0d723e14e67ee0b5.zip Qt-2a521d8d26577bfe0487a48c0d723e14e67ee0b5.tar.gz Qt-2a521d8d26577bfe0487a48c0d723e14e67ee0b5.tar.bz2 |
Create exceptionCatch events
Call to JSC::Debugger::exceptionCatch when exception is catched were
added for JIT enabled. Few XFAIL were moved.
Reviewed-by: Kent Hansen
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/jit/JITOpcodes.cpp')
-rw-r--r-- | src/3rdparty/webkit/JavaScriptCore/jit/JITOpcodes.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/jit/JITOpcodes.cpp b/src/3rdparty/webkit/JavaScriptCore/jit/JITOpcodes.cpp index 8371229..4a33e67 100644 --- a/src/3rdparty/webkit/JavaScriptCore/jit/JITOpcodes.cpp +++ b/src/3rdparty/webkit/JavaScriptCore/jit/JITOpcodes.cpp @@ -684,6 +684,10 @@ void JIT::emit_op_catch(Instruction* currentInstruction) killLastResultRegister(); // FIXME: Implicitly treat op_catch as a labeled statement, and remove this line of code. peek(callFrameRegister, OBJECT_OFFSETOF(struct JITStackFrame, callFrame) / sizeof (void*)); emitPutVirtualRegister(currentInstruction[1].u.operand); +#ifdef QT_BUILD_SCRIPT_LIB + JITStubCall stubCall(this, JITStubs::cti_op_debug_catch); + stubCall.call(); +#endif } void JIT::emit_op_jmp_scopes(Instruction* currentInstruction) |