Ignore:
Timestamp:
Aug 12, 2015, 12:16:49 PM (10 years ago)
Author:
[email protected]
Message:

Roll out r188339, which broke the build.

Unreviewed.

  • jit/ExecutableAllocator.h:
  • jsc.cpp:

(GlobalObject::finishCreation):
(functionReleaseExecutableMemory):

  • runtime/VM.cpp:

(JSC::StackPreservingRecompiler::visit):
(JSC::StackPreservingRecompiler::operator()):
(JSC::VM::releaseExecutableMemory):
(JSC::releaseExecutableMemory):

  • runtime/VM.h:
  • runtime/Watchdog.cpp:

(JSC::Watchdog::setTimeLimit):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jsc.cpp

    r188339 r188344  
    464464static EncodedJSValue JSC_HOST_CALL functionAddressOf(ExecState*);
    465465#ifndef NDEBUG
     466static EncodedJSValue JSC_HOST_CALL functionReleaseExecutableMemory(ExecState*);
    466467static EncodedJSValue JSC_HOST_CALL functionDumpCallFrame(ExecState*);
    467468#endif
     
    612613#ifndef NDEBUG
    613614        addFunction(vm, "dumpCallFrame", functionDumpCallFrame, 0);
     615        addFunction(vm, "releaseExecutableMemory", functionReleaseExecutableMemory, 0);
    614616#endif
    615617        addFunction(vm, "version", functionVersion, 1);
     
    907909    return returnValue;
    908910}
     911
     912
     913#ifndef NDEBUG
     914EncodedJSValue JSC_HOST_CALL functionReleaseExecutableMemory(ExecState* exec)
     915{
     916    JSLockHolder lock(exec);
     917    exec->vm().releaseExecutableMemory();
     918    return JSValue::encode(jsUndefined());
     919}
     920#endif
    909921
    910922EncodedJSValue JSC_HOST_CALL functionVersion(ExecState*)
Note: See TracChangeset for help on using the changeset viewer.