| 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_INTERPRETER_ASSEMBLER_H_ | 5 #ifndef V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ |
| 6 #define V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ | 6 #define V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/base/smart-pointers.h" | 9 #include "src/base/smart-pointers.h" |
| 10 #include "src/builtins.h" | 10 #include "src/builtins.h" |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 // Starts next instruction dispatch at |new_bytecode_offset|. | 171 // Starts next instruction dispatch at |new_bytecode_offset|. |
| 172 void DispatchTo(compiler::Node* new_bytecode_offset); | 172 void DispatchTo(compiler::Node* new_bytecode_offset); |
| 173 | 173 |
| 174 // Abort operations for debug code. | 174 // Abort operations for debug code. |
| 175 void AbortIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs, | 175 void AbortIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs, |
| 176 BailoutReason bailout_reason); | 176 BailoutReason bailout_reason); |
| 177 | 177 |
| 178 Bytecode bytecode_; | 178 Bytecode bytecode_; |
| 179 CodeStubAssembler::Variable accumulator_; | 179 CodeStubAssembler::Variable accumulator_; |
| 180 CodeStubAssembler::Variable context_; | 180 CodeStubAssembler::Variable context_; |
| 181 CodeStubAssembler::Variable dispatch_table_; | 181 CodeStubAssembler::Variable bytecode_array_; |
| 182 | 182 |
| 183 bool disable_stack_check_across_call_; | 183 bool disable_stack_check_across_call_; |
| 184 compiler::Node* stack_pointer_before_call_; | 184 compiler::Node* stack_pointer_before_call_; |
| 185 | 185 |
| 186 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); | 186 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 } // namespace interpreter | 189 } // namespace interpreter |
| 190 } // namespace internal | 190 } // namespace internal |
| 191 } // namespace v8 | 191 } // namespace v8 |
| 192 | 192 |
| 193 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ | 193 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ |
| OLD | NEW |