Index: src/builtins.h |
diff --git a/src/builtins.h b/src/builtins.h |
index 694273afd99fa99064374f49f4030db1e045f820..58b69d2965c11cd967e18b52bf71d6b4a0acd249 100644 |
--- a/src/builtins.h |
+++ b/src/builtins.h |
@@ -70,6 +70,10 @@ enum BuiltinExtraArguments { |
// Define list of builtins implemented in assembly. |
#define BUILTIN_LIST_A(V) \ |
V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
+ \ |
+ V(CallFunction, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
+ V(Call, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
+ \ |
V(InOptimizationQueue, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
V(JSConstructStubForDerived, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
@@ -261,6 +265,11 @@ class Builtins { |
static void Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm); |
static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); |
+ // ES6 section 9.2.1 [[Call]] ( thisArgument, argumentsList) |
+ static void Generate_CallFunction(MacroAssembler* masm); |
+ // ES6 section 7.3.12 Call(F, V, [argumentsList]) |
+ static void Generate_Call(MacroAssembler* masm); |
+ |
static void Generate_FunctionCall(MacroAssembler* masm); |
static void Generate_FunctionApply(MacroAssembler* masm); |
static void Generate_ReflectApply(MacroAssembler* masm); |