Changeset 198844 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Mar 30, 2016, 10:55:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r198808 r198844 438 438 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype) 439 439 { 440 return Structure::create(vm, globalObject, prototype, TypeInfo( ArrayType, StructureFlags), info(), ArrayClass);440 return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), info(), ArrayClass); 441 441 } 442 442 … … 559 559 static EncodedJSValue JSC_HOST_CALL functionPrint(ExecState*); 560 560 static EncodedJSValue JSC_HOST_CALL functionDebug(ExecState*); 561 static EncodedJSValue JSC_HOST_CALL functionDataLogValue(ExecState*);562 561 static EncodedJSValue JSC_HOST_CALL functionDescribe(ExecState*); 563 562 static EncodedJSValue JSC_HOST_CALL functionDescribeArray(ExecState*); … … 725 724 { 726 725 Base::finishCreation(vm); 727 728 addFunction(vm, "dataLogValue", functionDataLogValue, 1); 726 729 727 addFunction(vm, "debug", functionDebug, 1); 730 728 addFunction(vm, "describe", functionDescribe, 1); … … 824 822 825 823 putDirect(vm, Identifier::fromString(globalExec(), "console"), jsUndefined()); 826 putDirect(vm, vm.propertyNames->printPrivateName, JSFunction::create(vm, this, 1, vm.propertyNames->printPrivateName.string(), functionPrint));827 824 } 828 825 … … 1124 1121 } 1125 1122 1126 EncodedJSValue JSC_HOST_CALL functionDataLogValue(ExecState* exec)1127 {1128 dataLog("value is: ", exec->argument(0), "\n");1129 return JSValue::encode(jsUndefined());1130 }1131 1132 1123 EncodedJSValue JSC_HOST_CALL functionDescribe(ExecState* exec) 1133 1124 {
Note:
See TracChangeset
for help on using the changeset viewer.