Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 6051447bcdf5e4dce001a0947c79d48890abf592..bc0987752fb3fde45f4642978ada3533c52eb31e 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -202,7 +202,6 @@ class Genesis BASE_EMBEDDED { |
// Installs the contents of the native .js files on the global objects. |
// Used for creating a context from scratch. |
void InstallNativeFunctions(); |
- void InstallExperimentalBuiltinFunctionIds(); |
void InstallExperimentalNativeFunctions(); |
Handle<JSFunction> InstallInternalArray(Handle<JSBuiltinsObject> builtins, |
const char* name, |
@@ -2023,11 +2022,9 @@ bool Genesis::InstallExperimentalNatives() { |
INSTALL_EXPERIMENTAL_NATIVE(i, iteration, "string-iterator.js") |
INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") |
INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") |
- INSTALL_EXPERIMENTAL_NATIVE(i, maths, "harmony-math.js") |
} |
InstallExperimentalNativeFunctions(); |
- InstallExperimentalBuiltinFunctionIds(); |
return true; |
} |
@@ -2079,15 +2076,6 @@ void Genesis::InstallBuiltinFunctionIds() { |
} |
-void Genesis::InstallExperimentalBuiltinFunctionIds() { |
- HandleScope scope(isolate()); |
- if (FLAG_harmony_maths) { |
- Handle<JSObject> holder = ResolveBuiltinIdHolder(native_context(), "Math"); |
- InstallBuiltinFunctionId(holder, "clz32", kMathClz32); |
- } |
-} |
- |
- |
// Do not forget to update macros.py with named constant |
// of cache id. |
#define JSFUNCTION_RESULT_CACHE_LIST(F) \ |