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

Unified Diff: src/builtins.h

Issue 2103733003: [turbofan] Introduce Float64Pow and NumberPow operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE on ARM64 bug fix. Created 4 years, 6 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/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins.h
diff --git a/src/builtins.h b/src/builtins.h
index d838b713c094cfd770a04933b7d3db82b194c94a..2db0b1048a102b83123f4e3fd3e3208498bb9052 100644
--- a/src/builtins.h
+++ b/src/builtins.h
@@ -318,9 +318,10 @@ class CodeStubAssembler;
V(MathFloor, 2) \
V(MathLog, 2) \
V(MathLog1p, 2) \
- V(MathLog2, 2) \
V(MathLog10, 2) \
+ V(MathLog2, 2) \
V(MathRound, 2) \
+ V(MathPow, 3) \
V(MathSin, 2) \
V(MathTan, 2) \
V(MathSqrt, 2) \
@@ -662,6 +663,8 @@ class Builtins {
static void Generate_MathMin(MacroAssembler* masm) {
Generate_MathMaxMin(masm, MathMaxMinKind::kMin);
}
+ // ES6 section 20.2.2.26 Math.pow ( x, y )
+ static void Generate_MathPow(CodeStubAssembler* assembler);
// ES6 section 20.2.2.28 Math.round ( x )
static void Generate_MathRound(CodeStubAssembler* assembler);
// ES6 section 20.2.2.20 Math.sin ( x )
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698