Changeset 200426 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- May 4, 2016, 1:15:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r200149 r200426 568 568 static EncodedJSValue JSC_HOST_CALL functionPrint(ExecState*); 569 569 static EncodedJSValue JSC_HOST_CALL functionDebug(ExecState*); 570 static EncodedJSValue JSC_HOST_CALL functionDataLogValue(ExecState*); 570 571 static EncodedJSValue JSC_HOST_CALL functionDescribe(ExecState*); 571 572 static EncodedJSValue JSC_HOST_CALL functionDescribeArray(ExecState*); … … 739 740 { 740 741 Base::finishCreation(vm); 741 742 743 addFunction(vm, "dataLogValue", functionDataLogValue, 1); 742 744 addFunction(vm, "debug", functionDebug, 1); 743 745 addFunction(vm, "describe", functionDescribe, 1); … … 843 845 844 846 putDirect(vm, Identifier::fromString(globalExec(), "console"), jsUndefined()); 847 putDirect(vm, vm.propertyNames->printPrivateName, JSFunction::create(vm, this, 1, vm.propertyNames->printPrivateName.string(), functionPrint)); 845 848 } 846 849 … … 1142 1145 } 1143 1146 1147 EncodedJSValue JSC_HOST_CALL functionDataLogValue(ExecState* exec) 1148 { 1149 dataLog("value is: ", exec->argument(0), "\n"); 1150 return JSValue::encode(jsUndefined()); 1151 } 1152 1144 1153 EncodedJSValue JSC_HOST_CALL functionDescribe(ExecState* exec) 1145 1154 {
Note:
See TracChangeset
for help on using the changeset viewer.