| 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/bytecodes.h" | 10 #include "src/interpreter/bytecodes.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); | 70 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); |
| 71 void VisitVariableLoadForAccumulatorValue( | 71 void VisitVariableLoadForAccumulatorValue( |
| 72 Variable* variable, FeedbackVectorSlot slot, | 72 Variable* variable, FeedbackVectorSlot slot, |
| 73 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); | 73 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); |
| 74 MUST_USE_RESULT Register | 74 MUST_USE_RESULT Register |
| 75 VisitVariableLoadForRegisterValue(Variable* variable, FeedbackVectorSlot slot, | 75 VisitVariableLoadForRegisterValue(Variable* variable, FeedbackVectorSlot slot, |
| 76 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); | 76 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); |
| 77 void VisitVariableAssignment(Variable* variable, FeedbackVectorSlot slot); | 77 void VisitVariableAssignment(Variable* variable, FeedbackVectorSlot slot); |
| 78 | 78 |
| 79 void VisitArgumentsObject(Variable* variable); | 79 void VisitArgumentsObject(Variable* variable); |
| 80 void VisitRestArgumentsArray(Variable* rest, int index); |
| 80 void VisitThisFunctionVariable(Variable* variable); | 81 void VisitThisFunctionVariable(Variable* variable); |
| 81 void VisitNewTargetVariable(Variable* variable); | 82 void VisitNewTargetVariable(Variable* variable); |
| 82 void VisitNewLocalFunctionContext(); | 83 void VisitNewLocalFunctionContext(); |
| 83 void VisitBuildLocalActivationContext(); | 84 void VisitBuildLocalActivationContext(); |
| 84 void VisitBlockDeclarationsAndStatements(Block* stmt); | 85 void VisitBlockDeclarationsAndStatements(Block* stmt); |
| 85 void VisitNewLocalBlockContext(Scope* scope); | 86 void VisitNewLocalBlockContext(Scope* scope); |
| 86 void VisitNewLocalCatchContext(Variable* variable); | 87 void VisitNewLocalCatchContext(Variable* variable); |
| 87 void VisitFunctionClosureForContext(); | 88 void VisitFunctionClosureForContext(); |
| 88 void VisitSetHomeObject(Register value, Register home_object, | 89 void VisitSetHomeObject(Register value, Register home_object, |
| 89 ObjectLiteralProperty* property, int slot_number = 0); | 90 ObjectLiteralProperty* property, int slot_number = 0); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 ContextScope* execution_context_; | 151 ContextScope* execution_context_; |
| 151 ExpressionResultScope* execution_result_; | 152 ExpressionResultScope* execution_result_; |
| 152 RegisterAllocationScope* register_allocator_; | 153 RegisterAllocationScope* register_allocator_; |
| 153 }; | 154 }; |
| 154 | 155 |
| 155 } // namespace interpreter | 156 } // namespace interpreter |
| 156 } // namespace internal | 157 } // namespace internal |
| 157 } // namespace v8 | 158 } // namespace v8 |
| 158 | 159 |
| 159 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ | 160 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ |
| OLD | NEW |