Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 795cd5235a9928000516860643013b5390ad548d..c36156ddad5c3445056952ae0ccfc3fe5920e9b7 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1505,12 +1505,6 @@ static Handle<JSObject> ResolveBuiltinIdHolder(Handle<Context> native_context, |
.ToHandleChecked(); \ |
native_context()->set_##var(Type::cast(*var##_native)); |
-#define INSTALL_NATIVE_MATH(name) \ |
- { \ |
- Handle<Object> fun = \ |
- ResolveBuiltinIdHolder(native_context(), "Math." #name); \ |
- native_context()->set_math_##name##_fun(JSFunction::cast(*fun)); \ |
- } |
void Genesis::InstallNativeFunctions() { |
HandleScope scope(isolate()); |
@@ -1557,26 +1551,6 @@ void Genesis::InstallNativeFunctions() { |
INSTALL_NATIVE(Symbol, "symbolIterator", iterator_symbol); |
INSTALL_NATIVE(Symbol, "symbolUnscopables", unscopables_symbol); |
INSTALL_NATIVE(JSFunction, "ArrayValues", array_values_iterator); |
- |
- INSTALL_NATIVE_MATH(abs) |
- INSTALL_NATIVE_MATH(acos) |
- INSTALL_NATIVE_MATH(asin) |
- INSTALL_NATIVE_MATH(atan) |
- INSTALL_NATIVE_MATH(atan2) |
- INSTALL_NATIVE_MATH(ceil) |
- INSTALL_NATIVE_MATH(cos) |
- INSTALL_NATIVE_MATH(exp) |
- INSTALL_NATIVE_MATH(floor) |
- INSTALL_NATIVE_MATH(imul) |
- INSTALL_NATIVE_MATH(log) |
- INSTALL_NATIVE_MATH(max) |
- INSTALL_NATIVE_MATH(min) |
- INSTALL_NATIVE_MATH(pow) |
- INSTALL_NATIVE_MATH(random) |
- INSTALL_NATIVE_MATH(round) |
- INSTALL_NATIVE_MATH(sin) |
- INSTALL_NATIVE_MATH(sqrt) |
- INSTALL_NATIVE_MATH(tan) |
} |