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

Side by Side Diff: src/interpreter/bytecode-generator.h

Issue 2302643002: Split the AST representation of class properties from object properties (Closed)
Patch Set: rebase Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_INTERPRETER_BYTECODE_GENERATOR_H_ 5 #ifndef V8_INTERPRETER_BYTECODE_GENERATOR_H_
6 #define V8_INTERPRETER_BYTECODE_GENERATOR_H_ 6 #define V8_INTERPRETER_BYTECODE_GENERATOR_H_
7 7
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/interpreter/bytecode-array-builder.h" 9 #include "src/interpreter/bytecode-array-builder.h"
10 #include "src/interpreter/bytecode-label.h" 10 #include "src/interpreter/bytecode-label.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void VisitThisFunctionVariable(Variable* variable); 137 void VisitThisFunctionVariable(Variable* variable);
138 void VisitNewTargetVariable(Variable* variable); 138 void VisitNewTargetVariable(Variable* variable);
139 void VisitNewLocalFunctionContext(); 139 void VisitNewLocalFunctionContext();
140 void VisitBuildLocalActivationContext(); 140 void VisitBuildLocalActivationContext();
141 void VisitBlockDeclarationsAndStatements(Block* stmt); 141 void VisitBlockDeclarationsAndStatements(Block* stmt);
142 void VisitNewLocalBlockContext(Scope* scope); 142 void VisitNewLocalBlockContext(Scope* scope);
143 void VisitNewLocalCatchContext(Variable* variable, Scope* scope); 143 void VisitNewLocalCatchContext(Variable* variable, Scope* scope);
144 void VisitNewLocalWithContext(Scope* scope); 144 void VisitNewLocalWithContext(Scope* scope);
145 void VisitFunctionClosureForContext(); 145 void VisitFunctionClosureForContext();
146 void VisitSetHomeObject(Register value, Register home_object, 146 void VisitSetHomeObject(Register value, Register home_object,
147 ObjectLiteralProperty* property, int slot_number = 0); 147 LiteralProperty* property, int slot_number = 0);
148 void VisitObjectLiteralAccessor(Register home_object, 148 void VisitObjectLiteralAccessor(Register home_object,
149 ObjectLiteralProperty* property, 149 ObjectLiteralProperty* property,
150 Register value_out); 150 Register value_out);
151 void VisitForInAssignment(Expression* expr, FeedbackVectorSlot slot); 151 void VisitForInAssignment(Expression* expr, FeedbackVectorSlot slot);
152 152
153 // Visit the header/body of a loop iteration. 153 // Visit the header/body of a loop iteration.
154 void VisitIterationHeader(IterationStatement* stmt, 154 void VisitIterationHeader(IterationStatement* stmt,
155 LoopBuilder* loop_builder); 155 LoopBuilder* loop_builder);
156 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop_builder); 156 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop_builder);
157 157
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 Handle<Name> home_object_symbol_; 231 Handle<Name> home_object_symbol_;
232 Handle<Name> prototype_string_; 232 Handle<Name> prototype_string_;
233 }; 233 };
234 234
235 } // namespace interpreter 235 } // namespace interpreter
236 } // namespace internal 236 } // namespace internal
237 } // namespace v8 237 } // namespace v8
238 238
239 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ 239 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698