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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
126 void BuildNewLocalWithContext(Scope* scope); | 126 void BuildNewLocalWithContext(Scope* scope); |
127 | 127 |
128 void VisitGeneratorPrologue(); | 128 void VisitGeneratorPrologue(); |
129 | 129 |
130 void VisitArgumentsObject(Variable* variable); | 130 void VisitArgumentsObject(Variable* variable); |
131 void VisitRestArgumentsArray(Variable* rest); | 131 void VisitRestArgumentsArray(Variable* rest); |
132 void VisitCallSuper(Call* call); | 132 void VisitCallSuper(Call* call); |
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); | |
rmcilroy
2016/11/29 13:05:23
Unused? Please remove.
| |
137 void BuildClassLiteralNameProperty(ClassLiteral* expr, Register literal); | |
136 void VisitThisFunctionVariable(Variable* variable); | 138 void VisitThisFunctionVariable(Variable* variable); |
137 void VisitNewTargetVariable(Variable* variable); | 139 void VisitNewTargetVariable(Variable* variable); |
138 void VisitBlockDeclarationsAndStatements(Block* stmt); | 140 void VisitBlockDeclarationsAndStatements(Block* stmt); |
139 void VisitFunctionClosureForContext(); | 141 void VisitFunctionClosureForContext(); |
140 void VisitSetHomeObject(Register value, Register home_object, | 142 void VisitSetHomeObject(Register value, Register home_object, |
141 LiteralProperty* property, int slot_number = 0); | 143 LiteralProperty* property, int slot_number = 0); |
142 void VisitObjectLiteralAccessor(Register home_object, | 144 void VisitObjectLiteralAccessor(Register home_object, |
143 ObjectLiteralProperty* property, | 145 ObjectLiteralProperty* property, |
144 Register value_out); | 146 Register value_out); |
145 void VisitForInAssignment(Expression* expr, FeedbackVectorSlot slot); | 147 void VisitForInAssignment(Expression* expr, FeedbackVectorSlot slot); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
217 | 219 |
218 Handle<Name> home_object_symbol_; | 220 Handle<Name> home_object_symbol_; |
219 Handle<Name> prototype_string_; | 221 Handle<Name> prototype_string_; |
220 }; | 222 }; |
221 | 223 |
222 } // namespace interpreter | 224 } // namespace interpreter |
223 } // namespace internal | 225 } // namespace internal |
224 } // namespace v8 | 226 } // namespace v8 |
225 | 227 |
226 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ | 228 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ |
OLD | NEW |