Index: src/builtins.h |
diff --git a/src/builtins.h b/src/builtins.h |
index f2b6b1e5d1f50b1a117c37331260b90eb9209e4a..56f2db91e8e01ab385574a3ad60998147d0cf1b5 100644 |
--- a/src/builtins.h |
+++ b/src/builtins.h |
@@ -77,6 +77,9 @@ enum BuiltinExtraArguments { |
V(CallFunction, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
V(Call, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
\ |
+ V(ConstructFunction, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
+ V(Construct, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
+ \ |
V(PushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
\ |
V(InOptimizationQueue, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
@@ -276,6 +279,11 @@ class Builtins { |
// ES6 section 7.3.12 Call(F, V, [argumentsList]) |
static void Generate_Call(MacroAssembler* masm); |
+ // ES6 section 9.2.2 [[Construct]] ( argumentsList, newTarget) |
+ static void Generate_ConstructFunction(MacroAssembler* masm); |
+ // ES6 section 7.3.13 Construct (F, [argumentsList], [newTarget]) |
+ static void Generate_Construct(MacroAssembler* masm); |
+ |
static void Generate_PushArgsAndCall(MacroAssembler* masm); |
static void Generate_FunctionCall(MacroAssembler* masm); |