Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: src/bootstrapper.cc

Issue 28723002: Harmony: implement Math.sign. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: complete test Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | test/mjsunit/harmony/math-sign.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index c48385ce11ccec616e5435ee198b8b0d55ba23a6..234a2118bdd7002189906df3e21f6446869f594e 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -2067,6 +2067,11 @@ bool Genesis::InstallExperimentalNatives() {
"native harmony-array.js") == 0) {
if (!CompileExperimentalBuiltin(isolate(), i)) return false;
}
+ if (FLAG_harmony_maths &&
+ strcmp(ExperimentalNatives::GetScriptName(i).start(),
+ "native harmony-math.js") == 0) {
+ if (!CompileExperimentalBuiltin(isolate(), i)) return false;
+ }
}
InstallExperimentalNativeFunctions();
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | test/mjsunit/harmony/math-sign.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698