Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 80f7b6d4acfc10a1702bb78e8cb30e18b23d2418..c400e9595679fc4e3291297368053d086b3d0394 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1672,6 +1672,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
SimpleInstallFunction(math, "acos", Builtins::kMathAcos, 1, true); |
SimpleInstallFunction(math, "asin", Builtins::kMathAsin, 1, true); |
SimpleInstallFunction(math, "atan", Builtins::kMathAtan, 1, true); |
+ SimpleInstallFunction(math, "atan2", Builtins::kMathAtan2, 2, true); |
SimpleInstallFunction(math, "ceil", Builtins::kMathCeil, 1, true); |
SimpleInstallFunction(math, "clz32", Builtins::kMathClz32, 1, true); |
Handle<JSFunction> math_floor = |