Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index e8c7fbeb94b1019bfe6108338b119b6101fd4389..98cca703f20acce00f3cb50c48914865a64dbefe 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1701,6 +1701,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
Handle<JSFunction> math_sqrt = |
SimpleInstallFunction(math, "sqrt", Builtins::kMathSqrt, 1, true); |
native_context()->set_math_sqrt(*math_sqrt); |
+ SimpleInstallFunction(math, "tan", Builtins::kMathTan, 1, true); |
SimpleInstallFunction(math, "trunc", Builtins::kMathTrunc, 1, true); |
} |