OLD | NEW |
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 void VisitClassLiteralForRuntimeDefinition(ClassLiteral* expr); | 133 void VisitClassLiteralForRuntimeDefinition(ClassLiteral* expr); |
134 void VisitClassLiteralProperties(ClassLiteral* expr, Register literal, | 134 void VisitClassLiteralProperties(ClassLiteral* expr, Register literal, |
135 Register prototype); | 135 Register prototype); |
136 void VisitClassLiteralStaticPrototypeWithComputedName(Register name); | 136 void VisitClassLiteralStaticPrototypeWithComputedName(Register name); |
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); | 143 void VisitNewLocalCatchContext(Variable* variable, Scope* scope); |
144 void VisitNewLocalWithContext(); | 144 void VisitNewLocalWithContext(); |
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 ObjectLiteralProperty* 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. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_ |
OLD | NEW |