Index: src/builtins/builtins.h |
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h |
index 902cd8dbfbee28da32f290b89cdc1329e840339d..2c11d33dbb85c85a50bf02970eaf6d4ac9133951 100644 |
--- a/src/builtins/builtins.h |
+++ b/src/builtins/builtins.h |
@@ -538,9 +538,9 @@ class Isolate; |
/* ES6 section 20.2.2.23 Math.log2 ( x ) */ \ |
TFJ(MathLog2, 1) \ |
/* ES6 section 20.2.2.24 Math.max ( value1, value2 , ...values ) */ \ |
- ASM(MathMax) \ |
+ TFJ(MathMax, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
/* ES6 section 20.2.2.25 Math.min ( value1, value2 , ...values ) */ \ |
- ASM(MathMin) \ |
+ TFJ(MathMin, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
/* ES6 section 20.2.2.26 Math.pow ( x, y ) */ \ |
TFJ(MathPow, 2) \ |
/* ES6 section 20.2.2.27 Math.random */ \ |
@@ -972,9 +972,6 @@ class Builtins { |
static void Generate_InterpreterPushArgsAndConstructImpl( |
MacroAssembler* masm, InterpreterPushArgsMode mode); |
- enum class MathMaxMinKind { kMax, kMin }; |
- static void Generate_MathMaxMin(MacroAssembler* masm, MathMaxMinKind kind); |
- |
#define DECLARE_ASM(Name, ...) \ |
static void Generate_##Name(MacroAssembler* masm); |
#define DECLARE_TF(Name, ...) \ |