Index: src/builtins.h |
diff --git a/src/builtins.h b/src/builtins.h |
index b8e825e13217eb9c4307e882956758a2c27c1966..a707a94752335b861f181fd0915568317bae02d5 100644 |
--- a/src/builtins.h |
+++ b/src/builtins.h |
@@ -246,6 +246,9 @@ inline bool operator&(BuiltinExtraArguments lhs, BuiltinExtraArguments rhs) { |
V(InternalArrayCode, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
V(ArrayCode, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
\ |
+ V(NumberConstructor, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
+ V(NumberConstructor_ConstructStub, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
+ \ |
V(StringConstructor, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
V(StringConstructor_ConstructStub, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
\ |
@@ -479,6 +482,11 @@ class Builtins { |
static void Generate_InternalArrayCode(MacroAssembler* masm); |
static void Generate_ArrayCode(MacroAssembler* masm); |
+ // ES6 section 20.1.1.1 Number ( [ value ] ) for the [[Call]] case. |
+ static void Generate_NumberConstructor(MacroAssembler* masm); |
+ // ES6 section 20.1.1.1 Number ( [ value ] ) for the [[Construct]] case. |
+ static void Generate_NumberConstructor_ConstructStub(MacroAssembler* masm); |
+ |
static void Generate_StringConstructor(MacroAssembler* masm); |
static void Generate_StringConstructor_ConstructStub(MacroAssembler* masm); |
static void Generate_OnStackReplacement(MacroAssembler* masm); |