Ignore:
Timestamp:
Jul 16, 2012, 6:43:56 PM (13 years ago)
Author:
[email protected]
Message:

Unreviewed, roll out 122790 because it broke the Windows build. I'm not
sure what to do with exported symbols that are predicated on NDEBUG.

  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
  • bytecode/CodeBlock.cpp:

(JSC):

  • bytecode/CodeBlock.h:

(CodeBlock):

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::generate):

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::link):

  • interpreter/Interpreter.cpp:

(JSC):
(JSC::Interpreter::dumpRegisters):
(JSC::getCallerInfo):
(JSC::Interpreter::getStackTrace):
(JSC::Interpreter::retrieveCallerFromVMCode):

  • interpreter/Interpreter.h:

(Interpreter):

  • jsc.cpp:

(GlobalObject::finishCreation):

File:
1 edited

Legend:

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

    r122790 r122795  
    8989#ifndef NDEBUG
    9090static EncodedJSValue JSC_HOST_CALL functionReleaseExecutableMemory(ExecState*);
    91 static EncodedJSValue JSC_HOST_CALL functionDumpCallFrame(ExecState*);
    9291#endif
    9392static EncodedJSValue JSC_HOST_CALL functionVersion(ExecState*);
     
    196195        addFunction(globalData, "gc", functionGC, 0);
    197196#ifndef NDEBUG
    198         addFunction(globalData, "dumpCallFrame", functionDumpCallFrame, 0);
    199197        addFunction(globalData, "releaseExecutableMemory", functionReleaseExecutableMemory, 0);
    200198#endif
     
    283281    return JSValue::encode(jsUndefined());
    284282}
    285 
    286 #ifndef NDEBUG
    287 EncodedJSValue JSC_HOST_CALL functionDumpCallFrame(ExecState* exec)
    288 {
    289     if (!exec->callerFrame()->hasHostCallFrameFlag())
    290         exec->globalData().interpreter->dumpCallFrame(exec->callerFrame());
    291     return JSValue::encode(jsUndefined());
    292 }
    293 #endif
    294283
    295284EncodedJSValue JSC_HOST_CALL functionDebug(ExecState* exec)
Note: See TracChangeset for help on using the changeset viewer.