Index: src/js/prologue.js |
diff --git a/src/js/prologue.js b/src/js/prologue.js |
index dba77d7d8d130402df5284cc2dbf516e6cd71199..e564eb5cf803f7d1662a4bab272f62471ff8f20b 100644 |
--- a/src/js/prologue.js |
+++ b/src/js/prologue.js |
@@ -112,20 +112,6 @@ function InstallGetter(object, name, getter, attributes, prefix) { |
} |
-// Helper function to install a getter/setter accessor property. |
-function InstallGetterSetter(object, name, getter, setter, attributes) { |
- %CheckIsBootstrapping(); |
- if (IS_UNDEFINED(attributes)) attributes = DONT_ENUM; |
- SetFunctionName(getter, name, "get"); |
- SetFunctionName(setter, name, "set"); |
- %FunctionRemovePrototype(getter); |
- %FunctionRemovePrototype(setter); |
- %DefineAccessorPropertyUnchecked(object, name, getter, setter, attributes); |
- %SetNativeFlag(getter); |
- %SetNativeFlag(setter); |
-} |
- |
- |
function OverrideFunction(object, name, f, afterInitialBootstrap) { |
%CheckIsBootstrapping(); |
%object_define_property(object, name, { value: f, |
@@ -270,7 +256,6 @@ utils.SetFunctionName = SetFunctionName; |
utils.InstallConstants = InstallConstants; |
utils.InstallFunctions = InstallFunctions; |
utils.InstallGetter = InstallGetter; |
-utils.InstallGetterSetter = InstallGetterSetter; |
utils.OverrideFunction = OverrideFunction; |
utils.SetUpLockedPrototype = SetUpLockedPrototype; |
utils.PostNatives = PostNatives; |