Changeset 122795 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Jul 16, 2012, 6:43:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r122790 r122795 89 89 #ifndef NDEBUG 90 90 static EncodedJSValue JSC_HOST_CALL functionReleaseExecutableMemory(ExecState*); 91 static EncodedJSValue JSC_HOST_CALL functionDumpCallFrame(ExecState*);92 91 #endif 93 92 static EncodedJSValue JSC_HOST_CALL functionVersion(ExecState*); … … 196 195 addFunction(globalData, "gc", functionGC, 0); 197 196 #ifndef NDEBUG 198 addFunction(globalData, "dumpCallFrame", functionDumpCallFrame, 0);199 197 addFunction(globalData, "releaseExecutableMemory", functionReleaseExecutableMemory, 0); 200 198 #endif … … 283 281 return JSValue::encode(jsUndefined()); 284 282 } 285 286 #ifndef NDEBUG287 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 #endif294 283 295 284 EncodedJSValue JSC_HOST_CALL functionDebug(ExecState* exec)
Note:
See TracChangeset
for help on using the changeset viewer.