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

Unified Diff: src/math.js

Issue 997513002: [turbofan] Use builtin inlining mechanism for Math.floor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Andreas wants to keep the typer separate from inlining. Created 5 years, 9 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 | « src/compiler/js-builtin-reducer.cc ('k') | test/unittests/compiler/js-builtin-reducer-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/math.js
diff --git a/src/math.js b/src/math.js
index 83bca9348efd6294b5e606f2a4f8655ec8471e1b..9225aaf9e5d2e4897e1c8a545ff92e4eeb5a69fb 100644
--- a/src/math.js
+++ b/src/math.js
@@ -351,6 +351,7 @@ InstallFunctions($Math, DONT_ENUM, $Array(
));
%SetInlineBuiltinFlag(MathCeil);
+%SetInlineBuiltinFlag(MathFloor);
%SetInlineBuiltinFlag(MathRandom);
// Keep reference to original values of some global properties. This
« no previous file with comments | « src/compiler/js-builtin-reducer.cc ('k') | test/unittests/compiler/js-builtin-reducer-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698