Changeset 123417 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Jul 23, 2012, 7:13:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r123042 r123417 85 85 static EncodedJSValue JSC_HOST_CALL functionPrint(ExecState*); 86 86 static EncodedJSValue JSC_HOST_CALL functionDebug(ExecState*); 87 static EncodedJSValue JSC_HOST_CALL functionDescribe(ExecState*); 87 88 static EncodedJSValue JSC_HOST_CALL functionJSCStack(ExecState*); 88 89 static EncodedJSValue JSC_HOST_CALL functionGC(ExecState*); … … 192 193 193 194 addFunction(globalData, "debug", functionDebug, 1); 195 addFunction(globalData, "describe", functionDescribe, 1); 194 196 addFunction(globalData, "print", functionPrint, 1); 195 197 addFunction(globalData, "quit", functionQuit, 0); … … 296 298 { 297 299 fprintf(stderr, "--> %s\n", exec->argument(0).toString(exec)->value(exec).utf8().data()); 300 return JSValue::encode(jsUndefined()); 301 } 302 303 EncodedJSValue JSC_HOST_CALL functionDescribe(ExecState* exec) 304 { 305 fprintf(stderr, "--> %s\n", exec->argument(0).description()); 298 306 return JSValue::encode(jsUndefined()); 299 307 }
Note:
See TracChangeset
for help on using the changeset viewer.