diff options
Diffstat (limited to 'src/3rdparty/javascriptcore/JavaScriptCore/runtime/TimeoutChecker.cpp')
-rw-r--r-- | src/3rdparty/javascriptcore/JavaScriptCore/runtime/TimeoutChecker.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/TimeoutChecker.cpp b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/TimeoutChecker.cpp index 045a33a79a..d7fca33387 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/TimeoutChecker.cpp +++ b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/TimeoutChecker.cpp @@ -120,6 +120,13 @@ void TimeoutChecker::reset() m_timeExecuting = 0; } +void TimeoutChecker::copyTimeoutValues(TimeoutChecker* other) +{ + m_timeoutInterval = other->m_timeoutInterval; + m_startCount = other->m_startCount; + m_intervalBetweenChecks = other->m_intervalBetweenChecks; +} + bool TimeoutChecker::didTimeOut(ExecState* exec) { unsigned currentTime = getCPUTime(); |