summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/jit/JITStubs.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>2009-08-03 17:40:43 (GMT)
committerTor Arne Vestbø <tor.arne.vestbo@nokia.com>2009-08-03 18:18:03 (GMT)
commitea1b369a3c90f26523d68d089f76f4cb96308d56 (patch)
tree73a153d40a6660d38e39a6ba719572de7e2a736d /src/3rdparty/webkit/JavaScriptCore/jit/JITStubs.cpp
parente520df1f8678bd59adb341fb586f008a7de17fe8 (diff)
downloadQt-ea1b369a3c90f26523d68d089f76f4cb96308d56.zip
Qt-ea1b369a3c90f26523d68d089f76f4cb96308d56.tar.gz
Qt-ea1b369a3c90f26523d68d089f76f4cb96308d56.tar.bz2
Make JSC::TimeoutChecker subclassable and replacable in the global data
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/jit/JITStubs.cpp')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/jit/JITStubs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/jit/JITStubs.cpp b/src/3rdparty/webkit/JavaScriptCore/jit/JITStubs.cpp
index 5049477..62da189 100644
--- a/src/3rdparty/webkit/JavaScriptCore/jit/JITStubs.cpp
+++ b/src/3rdparty/webkit/JavaScriptCore/jit/JITStubs.cpp
@@ -684,14 +684,14 @@ DEFINE_STUB_FUNCTION(int, timeout_check)
STUB_INIT_STACK_FRAME(stackFrame);
JSGlobalData* globalData = stackFrame.globalData;
- TimeoutChecker& timeoutChecker = globalData->timeoutChecker;
+ TimeoutChecker* timeoutChecker = globalData->timeoutChecker;
- if (timeoutChecker.didTimeOut(stackFrame.callFrame)) {
+ if (timeoutChecker->didTimeOut(stackFrame.callFrame)) {
globalData->exception = createInterruptedExecutionException(globalData);
VM_THROW_EXCEPTION_AT_END();
}
- return timeoutChecker.ticksUntilNextCheck();
+ return timeoutChecker->ticksUntilNextCheck();
}
DEFINE_STUB_FUNCTION(void, register_file_check)