Chromium Code Reviews| 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 28 matching lines...) Expand all Loading... | |
| 39 | 39 |
| 40 Register VisitArguments(ZoneList<Expression*>* arguments, | 40 Register VisitArguments(ZoneList<Expression*>* arguments, |
| 41 TemporaryRegisterScope* caller_scope); | 41 TemporaryRegisterScope* caller_scope); |
| 42 void VisitArithmeticExpression(BinaryOperation* binop); | 42 void VisitArithmeticExpression(BinaryOperation* binop); |
| 43 void VisitCommaExpression(BinaryOperation* binop); | 43 void VisitCommaExpression(BinaryOperation* binop); |
| 44 void VisitLogicalOrExpression(BinaryOperation* binop); | 44 void VisitLogicalOrExpression(BinaryOperation* binop); |
| 45 void VisitLogicalAndExpression(BinaryOperation* binop); | 45 void VisitLogicalAndExpression(BinaryOperation* binop); |
| 46 void VisitPropertyLoad(Register obj, Property* expr); | 46 void VisitPropertyLoad(Register obj, Property* expr); |
| 47 void VisitVariableLoad(Variable* variable, FeedbackVectorSlot slot); | 47 void VisitVariableLoad(Variable* variable, FeedbackVectorSlot slot); |
| 48 void VisitVariableAssignment(Variable* variable, FeedbackVectorSlot slot); | 48 void VisitVariableAssignment(Variable* variable, FeedbackVectorSlot slot); |
| 49 void VisitArgumentsObject(Variable* arguments); | |
| 50 void VisitThisFunctionVariable(Variable* this_function_var); | |
| 51 void VisitNewTargetVariable(Variable* this_function_var); | |
|
Michael Starzinger
2015/10/21 18:42:17
nit: s/this_function_var/new_target_var/. Or even
rmcilroy
2015/10/22 15:19:52
Done.
| |
| 49 void VisitNewLocalFunctionContext(); | 52 void VisitNewLocalFunctionContext(); |
| 50 void VisitBuildLocalActivationContext(); | 53 void VisitBuildLocalActivationContext(); |
| 51 void VisitNewLocalBlockContext(Scope* scope); | 54 void VisitNewLocalBlockContext(Scope* scope); |
| 52 void VisitFunctionClosureForContext(); | 55 void VisitFunctionClosureForContext(); |
| 53 void VisitSetHomeObject(Register value, Register home_object, | 56 void VisitSetHomeObject(Register value, Register home_object, |
| 54 ObjectLiteralProperty* property, int slot_number = 0); | 57 ObjectLiteralProperty* property, int slot_number = 0); |
| 55 void VisitObjectLiteralAccessor(Register home_object, | 58 void VisitObjectLiteralAccessor(Register home_object, |
| 56 ObjectLiteralProperty* property, | 59 ObjectLiteralProperty* property, |
| 57 Register value_out); | 60 Register value_out); |
| 58 | 61 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 93 ZoneVector<Handle<Object>> globals_; | 96 ZoneVector<Handle<Object>> globals_; |
| 94 ControlScope* execution_control_; | 97 ControlScope* execution_control_; |
| 95 ContextScope* execution_context_; | 98 ContextScope* execution_context_; |
| 96 }; | 99 }; |
| 97 | 100 |
| 98 } // namespace interpreter | 101 } // namespace interpreter |
| 99 } // namespace internal | 102 } // namespace internal |
| 100 } // namespace v8 | 103 } // namespace v8 |
| 101 | 104 |
| 102 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ | 105 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ |
| OLD | NEW |