Ignore:
Timestamp:
Apr 10, 2013, 11:51:47 AM (12 years ago)
Author:
[email protected]
Message:

Removed bitrotted TimeoutChecker code
https://bugs.webkit.org/show_bug.cgi?id=114336

Reviewed by Alexey Proskuryakov.

../JavaScriptCore:

This mechanism hasn't worked for a while.

MarkL is working on a new version of this feature with a distinct
implementation.

  • API/APIShims.h:

(JSC::APIEntryShim::~APIEntryShim):
(JSC::APIEntryShim::init):

  • GNUmakefile.list.am:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreExports.def:
  • JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
  • JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
  • JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExports.def.in:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • Target.pri:
  • dfg/DFGGPRInfo.h:
  • jit/JIT.cpp:
  • jit/JIT.h:
  • jit/JITStubs.cpp:
  • jit/JITStubs.h:
  • jit/JSInterfaceJIT.h:

(JSInterfaceJIT):

  • runtime/JSGlobalData.cpp:

(JSC::JSGlobalData::JSGlobalData):

  • runtime/JSGlobalData.h:
  • runtime/JSGlobalObject.cpp:
  • runtime/JSONObject.cpp:

(JSC::Stringifier::appendStringifiedValue):
(JSC::Walker::walk):

  • runtime/TimeoutChecker.cpp: Removed.
  • runtime/TimeoutChecker.h: Removed.

../WebCore:

This mechanism hasn't worked for a while.

MarkL is working on a new version of this feature with a distinct
implementation.

  • bindings/js/JSCallbackData.cpp:

(WebCore::JSCallbackData::invokeCallback):

  • bindings/js/JSCustomXPathNSResolver.cpp:

(WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):

  • bindings/js/JSDOMWindowBase.cpp:

(WebCore::JSDOMWindowBase::commonJSGlobalData):

  • bindings/js/JSErrorHandler.cpp:

(WebCore::JSErrorHandler::handleEvent):

  • bindings/js/JSEventListener.cpp:

(WebCore::JSEventListener::handleEvent):

  • bindings/js/JSMutationCallback.cpp:

(WebCore::JSMutationCallback::call):

  • bindings/js/ScheduledAction.cpp:

(WebCore::ScheduledAction::executeFunctionInContext):

  • bindings/js/ScriptController.cpp:

(WebCore::ScriptController::evaluateInWorld):

  • bindings/js/SerializedScriptValue.cpp:

(WebCore::CloneBase::CloneBase):
(WebCore::CloneSerializer::serialize):
(WebCore::CloneDeserializer::deserialize):

  • bindings/js/WorkerScriptController.cpp:

(WebCore::WorkerScriptController::evaluate):

  • bindings/objc/WebScriptObject.mm:

(-[WebScriptObject callWebScriptMethod:withArguments:]):
(-[WebScriptObject evaluateWebScript:]):

../WebKit/blackberry:

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPage::setTimeoutForJavaScriptExecution):

../WebKit/mac:

This mechanism hasn't worked for a while.

MarkL is working on a new version of this feature with a distinct
implementation.

  • Plugins/Hosted/NetscapePluginInstanceProxy.mm:

(WebKit::NetscapePluginInstanceProxy::evaluate):

../WebKit/qt:

  • WebCoreSupport/FrameLoaderClientQt.cpp:

(WebCore::FrameLoaderClientQt::createDocumentLoader):

../WebKit2:

This mechanism hasn't worked for a while.

MarkL is working on a new version of this feature with a distinct
implementation.

  • WebProcess/Plugins/Netscape/NPJSObject.cpp:

(WebKit::NPJSObject::construct):
(WebKit::NPJSObject::invoke):

  • WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:

(WebKit::NPRuntimeObjectMap::evaluate):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JITStubs.cpp

    r147816 r148119  
    472472#endif
    473473    "move  $16,$6       # set callFrameRegister" "\n"
    474     "li    $17,512      # set timeoutCheckRegister" "\n"
    475474    "move  $25,$4       # move executableAddress to t9" "\n"
    476475    "sw    $5," STRINGIZE_VALUE_OF(REGISTER_FILE_OFFSET) "($29) # store JSStack to current stack" "\n"
     
    13721371    CHECK_FOR_EXCEPTION_AT_END();
    13731372    return JSValue::encode(result);
    1374 }
    1375 
    1376 DEFINE_STUB_FUNCTION(int, timeout_check)
    1377 {
    1378     STUB_INIT_STACK_FRAME(stackFrame);
    1379 
    1380     JSGlobalData* globalData = stackFrame.globalData;
    1381     TimeoutChecker& timeoutChecker = globalData->timeoutChecker;
    1382 
    1383     if (globalData->terminator.shouldTerminate()) {
    1384         globalData->exception = createTerminatedExecutionException(globalData);
    1385         VM_THROW_EXCEPTION_AT_END();
    1386     } else if (timeoutChecker.didTimeOut(stackFrame.callFrame)) {
    1387         globalData->exception = createInterruptedExecutionException(globalData);
    1388         VM_THROW_EXCEPTION_AT_END();
    1389     }
    1390 
    1391     return timeoutChecker.ticksUntilNextCheck();
    13921373}
    13931374
Note: See TracChangeset for help on using the changeset viewer.