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