Changeset 199647 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Apr 17, 2016, 2:53:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r199397 r199647 556 556 static EncodedJSValue JSC_HOST_CALL functionCreateCustomGetterObject(ExecState*); 557 557 static EncodedJSValue JSC_HOST_CALL functionCreateBuiltin(ExecState*); 558 static EncodedJSValue JSC_HOST_CALL functionCreateGlobalObject(ExecState*); 558 559 static EncodedJSValue JSC_HOST_CALL functionSetImpureGetterDelegate(ExecState*); 559 560 … … 801 802 addFunction(vm, "createCustomGetterObject", functionCreateCustomGetterObject, 0); 802 803 addFunction(vm, "createBuiltin", functionCreateBuiltin, 2); 804 addFunction(vm, "createGlobalObject", functionCreateGlobalObject, 0); 803 805 addFunction(vm, "setImpureGetterDelegate", functionSetImpureGetterDelegate, 2); 804 806 … … 1777 1779 } 1778 1780 1781 EncodedJSValue JSC_HOST_CALL functionCreateGlobalObject(ExecState* exec) 1782 { 1783 VM& vm = exec->vm(); 1784 return JSValue::encode(GlobalObject::create(vm, GlobalObject::createStructure(vm, jsNull()), Vector<String>())); 1785 } 1786 1779 1787 EncodedJSValue JSC_HOST_CALL functionCheckModuleSyntax(ExecState* exec) 1780 1788 {
Note:
See TracChangeset
for help on using the changeset viewer.