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

Unified Diff: src/full-codegen.h

Issue 938443002: [es6] implement spread calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase + clang-format Created 5 years, 8 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
Index: src/full-codegen.h
diff --git a/src/full-codegen.h b/src/full-codegen.h
index d558ae6f224a9ceef5636322af81714aa75a571b..889ddda910eb4b35fb7b4d90c1e3900d9f74338c 100644
--- a/src/full-codegen.h
+++ b/src/full-codegen.h
@@ -558,7 +558,8 @@ class FullCodeGenerator: public AstVisitor {
F(RegExpConstructResult) \
F(GetFromCache) \
F(NumberToString) \
- F(DebugIsActive)
+ F(DebugIsActive) \
+ F(CallSuperWithSpread)
#define GENERATOR_DECLARATION(Name) void Emit##Name(CallRuntime* call);
FOR_EACH_FULL_CODE_INTRINSIC(GENERATOR_DECLARATION)
@@ -589,6 +590,10 @@ class FullCodeGenerator: public AstVisitor {
// the given function info.
void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure);
+ // Re-usable portions of CallRuntime
+ void EmitLoadJSRuntimeFunction(CallRuntime* expr);
+ void EmitCallJSRuntimeFunction(CallRuntime* expr);
+
// Platform-specific support for compiling assignments.
// Left-hand side can only be a property, a global or a (parameter or local)
@@ -686,6 +691,7 @@ class FullCodeGenerator: public AstVisitor {
void EmitSetHomeObjectIfNeeded(Expression* initializer, int offset);
void EmitLoadSuperConstructor();
+ void EmitInitializeThisAfterSuper(SuperReference* super_ref);
void CallIC(Handle<Code> code,
TypeFeedbackId id = TypeFeedbackId::None());
« no previous file with comments | « src/flag-definitions.h ('k') | src/full-codegen.cc » ('j') | test/js-perf-test/JSTests.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698