Changeset 200121 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Apr 27, 2016, 12:12:06 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r200101 r200121 635 635 636 636 static EncodedJSValue JSC_HOST_CALL functionShadowChickenFunctionsOnStack(ExecState*); 637 static EncodedJSValue JSC_HOST_CALL functionSetGlobalConstRedeclarationShouldNotThrow(ExecState*); 637 638 638 639 struct Script { … … 779 780 #endif 780 781 addFunction(vm, "shadowChickenFunctionsOnStack", functionShadowChickenFunctionsOnStack, 0); 782 addFunction(vm, "setGlobalConstRedeclarationShouldNotThrow", functionSetGlobalConstRedeclarationShouldNotThrow, 0); 781 783 addConstructableFunction(vm, "Root", functionCreateRoot, 0); 782 784 addConstructableFunction(vm, "Element", functionCreateElement, 1); … … 1495 1497 } 1496 1498 1499 EncodedJSValue JSC_HOST_CALL functionSetGlobalConstRedeclarationShouldNotThrow(ExecState* exec) 1500 { 1501 exec->vm().setGlobalConstRedeclarationShouldThrow(false); 1502 return JSValue::encode(jsUndefined()); 1503 } 1504 1497 1505 EncodedJSValue JSC_HOST_CALL functionReadline(ExecState* exec) 1498 1506 {
Note:
See TracChangeset
for help on using the changeset viewer.