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

Unified Diff: src/interpreter/bytecode-generator.h

Issue 1666943003: [interpreter] Support for ES6 class literals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Another tweak to cctest.status. Created 4 years, 10 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
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/bytecode-generator.h
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h
index 0bcc9d954d92e5e14290df00e08fdc0d7c685bff..b469c7f8967744f3fa30e123764634c765d6d78b 100644
--- a/src/interpreter/bytecode-generator.h
+++ b/src/interpreter/bytecode-generator.h
@@ -80,6 +80,11 @@ class BytecodeGenerator final : public AstVisitor {
void VisitArgumentsObject(Variable* variable);
void VisitRestArgumentsArray(Variable* rest, int index);
+ void VisitClassLiteralContents(ClassLiteral* expr);
+ void VisitClassLiteralForRuntimeDefinition(ClassLiteral* expr);
+ void VisitClassLiteralProperties(ClassLiteral* expr, Register literal,
+ Register prototype);
+ void VisitClassLiteralStaticPrototypeWithComputedName(Register name);
void VisitThisFunctionVariable(Variable* variable);
void VisitNewTargetVariable(Variable* variable);
void VisitNewLocalFunctionContext();
@@ -104,9 +109,10 @@ class BytecodeGenerator final : public AstVisitor {
// Visitors for obtaining expression result in the accumulator, in a
// register, or just getting the effect.
- void VisitForAccumulatorValue(Expression* expression);
- MUST_USE_RESULT Register VisitForRegisterValue(Expression* expression);
- void VisitForEffect(Expression* node);
+ void VisitForAccumulatorValue(Expression* expr);
+ void VisitForAccumulatorValueOrTheHole(Expression* expr);
+ MUST_USE_RESULT Register VisitForRegisterValue(Expression* expr);
+ void VisitForEffect(Expression* expr);
// Methods for tracking and remapping register.
void RecordStoreToRegister(Register reg);
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698