| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   74                                     TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); |   74                                     TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); | 
|   75   void VisitVariableAssignment(Variable* variable, FeedbackVectorSlot slot); |   75   void VisitVariableAssignment(Variable* variable, FeedbackVectorSlot slot); | 
|   76  |   76  | 
|   77   void VisitArgumentsObject(Variable* variable); |   77   void VisitArgumentsObject(Variable* variable); | 
|   78   void VisitThisFunctionVariable(Variable* variable); |   78   void VisitThisFunctionVariable(Variable* variable); | 
|   79   void VisitNewTargetVariable(Variable* variable); |   79   void VisitNewTargetVariable(Variable* variable); | 
|   80   void VisitNewLocalFunctionContext(); |   80   void VisitNewLocalFunctionContext(); | 
|   81   void VisitBuildLocalActivationContext(); |   81   void VisitBuildLocalActivationContext(); | 
|   82   void VisitBlockDeclarationsAndStatements(Block* stmt); |   82   void VisitBlockDeclarationsAndStatements(Block* stmt); | 
|   83   void VisitNewLocalBlockContext(Scope* scope); |   83   void VisitNewLocalBlockContext(Scope* scope); | 
 |   84   void VisitNewLocalCatchContext(Variable* variable); | 
|   84   void VisitFunctionClosureForContext(); |   85   void VisitFunctionClosureForContext(); | 
|   85   void VisitSetHomeObject(Register value, Register home_object, |   86   void VisitSetHomeObject(Register value, Register home_object, | 
|   86                           ObjectLiteralProperty* property, int slot_number = 0); |   87                           ObjectLiteralProperty* property, int slot_number = 0); | 
|   87   void VisitObjectLiteralAccessor(Register home_object, |   88   void VisitObjectLiteralAccessor(Register home_object, | 
|   88                                   ObjectLiteralProperty* property, |   89                                   ObjectLiteralProperty* property, | 
|   89                                   Register value_out); |   90                                   Register value_out); | 
|   90   void VisitForInAssignment(Expression* expr, FeedbackVectorSlot slot); |   91   void VisitForInAssignment(Expression* expr, FeedbackVectorSlot slot); | 
|   91  |   92  | 
|   92   // Visitors for obtaining expression result in the accumulator, in a |   93   // Visitors for obtaining expression result in the accumulator, in a | 
|   93   // register, or just getting the effect. |   94   // register, or just getting the effect. | 
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  144   ContextScope* execution_context_; |  145   ContextScope* execution_context_; | 
|  145   ExpressionResultScope* execution_result_; |  146   ExpressionResultScope* execution_result_; | 
|  146   RegisterAllocationScope* register_allocator_; |  147   RegisterAllocationScope* register_allocator_; | 
|  147 }; |  148 }; | 
|  148  |  149  | 
|  149 }  // namespace interpreter |  150 }  // namespace interpreter | 
|  150 }  // namespace internal |  151 }  // namespace internal | 
|  151 }  // namespace v8 |  152 }  // namespace v8 | 
|  152  |  153  | 
|  153 #endif  // V8_INTERPRETER_BYTECODE_GENERATOR_H_ |  154 #endif  // V8_INTERPRETER_BYTECODE_GENERATOR_H_ | 
| OLD | NEW |