Index: src/js/prologue.js |
diff --git a/src/js/prologue.js b/src/js/prologue.js |
index f9589a51c2fda9fe985a3953b889accbf117f4d8..7fe4383197b4fedf45bb54ee0ca94683fb553eb9 100644 |
--- a/src/js/prologue.js |
+++ b/src/js/prologue.js |
@@ -128,10 +128,10 @@ function InstallGetterSetter(object, name, getter, setter, attributes) { |
function OverrideFunction(object, name, f, afterInitialBootstrap) { |
%CheckIsBootstrapping(); |
- %ObjectDefineProperty(object, name, { value: f, |
- writeable: true, |
- configurable: true, |
- enumerable: false }); |
+ %object_define_property(object, name, { value: f, |
+ writeable: true, |
+ configurable: true, |
+ enumerable: false }); |
SetFunctionName(f, name); |
if (!afterInitialBootstrap) %FunctionRemovePrototype(f); |
%SetNativeFlag(f); |
@@ -195,7 +195,6 @@ function PostNatives(utils) { |
"MaxSimple", |
"MinSimple", |
"NumberIsInteger", |
- "ObjectDefineProperty", |
"ObserveArrayMethods", |
"ObserveObjectMethods", |
"PromiseChain", |