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.h" | 8 #include "src/ast.h" |
9 #include "src/interpreter/bytecode-array-builder.h" | 9 #include "src/interpreter/bytecode-array-builder.h" |
10 #include "src/interpreter/bytecodes.h" | 10 #include "src/interpreter/bytecodes.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 void VisitPropertyLoad(Register obj, Property* expr); | 58 void VisitPropertyLoad(Register obj, Property* expr); |
59 void VisitPropertyLoadForAccumulator(Register obj, Property* expr); | 59 void VisitPropertyLoadForAccumulator(Register obj, Property* expr); |
60 | 60 |
61 void VisitVariableLoad(Variable* variable, FeedbackVectorSlot slot); | 61 void VisitVariableLoad(Variable* variable, FeedbackVectorSlot slot); |
62 void VisitVariableLoadForAccumulatorValue(Variable* variable, | 62 void VisitVariableLoadForAccumulatorValue(Variable* variable, |
63 FeedbackVectorSlot slot); | 63 FeedbackVectorSlot slot); |
64 MUST_USE_RESULT Register VisitVariableLoadForRegisterValue( | 64 MUST_USE_RESULT Register VisitVariableLoadForRegisterValue( |
65 Variable* variable, FeedbackVectorSlot slot); | 65 Variable* variable, FeedbackVectorSlot slot); |
66 void VisitVariableAssignment(Variable* variable, FeedbackVectorSlot slot); | 66 void VisitVariableAssignment(Variable* variable, FeedbackVectorSlot slot); |
67 | 67 |
| 68 void VisitArgumentsObject(Variable* variable); |
| 69 void VisitThisFunctionVariable(Variable* variable); |
| 70 void VisitNewTargetVariable(Variable* variable); |
68 void VisitNewLocalFunctionContext(); | 71 void VisitNewLocalFunctionContext(); |
69 void VisitBuildLocalActivationContext(); | 72 void VisitBuildLocalActivationContext(); |
70 void VisitNewLocalBlockContext(Scope* scope); | 73 void VisitNewLocalBlockContext(Scope* scope); |
71 void VisitFunctionClosureForContext(); | 74 void VisitFunctionClosureForContext(); |
72 void VisitSetHomeObject(Register value, Register home_object, | 75 void VisitSetHomeObject(Register value, Register home_object, |
73 ObjectLiteralProperty* property, int slot_number = 0); | 76 ObjectLiteralProperty* property, int slot_number = 0); |
74 void VisitObjectLiteralAccessor(Register home_object, | 77 void VisitObjectLiteralAccessor(Register home_object, |
75 ObjectLiteralProperty* property, | 78 ObjectLiteralProperty* property, |
76 Register value_out); | 79 Register value_out); |
77 | 80 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 133 |
131 int binary_expression_depth_; | 134 int binary_expression_depth_; |
132 ZoneSet<int> binary_expression_hazard_set_; | 135 ZoneSet<int> binary_expression_hazard_set_; |
133 }; | 136 }; |
134 | 137 |
135 } // namespace interpreter | 138 } // namespace interpreter |
136 } // namespace internal | 139 } // namespace internal |
137 } // namespace v8 | 140 } // namespace v8 |
138 | 141 |
139 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ | 142 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ |
OLD | NEW |