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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 compiler::Node* Advance(compiler::Node* delta); | 178 compiler::Node* Advance(compiler::Node* delta); |
179 | 179 |
180 // Starts next instruction dispatch at |new_bytecode_offset|. | 180 // Starts next instruction dispatch at |new_bytecode_offset|. |
181 void DispatchTo(compiler::Node* new_bytecode_offset); | 181 void DispatchTo(compiler::Node* new_bytecode_offset); |
182 | 182 |
183 // Abort operations for debug code. | 183 // Abort operations for debug code. |
184 void AbortIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs, | 184 void AbortIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs, |
185 BailoutReason bailout_reason); | 185 BailoutReason bailout_reason); |
186 | 186 |
187 Bytecode bytecode_; | 187 Bytecode bytecode_; |
188 compiler::Node* accumulator_; | 188 CodeStubAssembler::Variable accumulator_; |
189 compiler::Node* context_; | 189 CodeStubAssembler::Variable context_; |
| 190 CodeStubAssembler::Variable dispatch_table_; |
190 | 191 |
191 bool disable_stack_check_across_call_; | 192 bool disable_stack_check_across_call_; |
192 compiler::Node* stack_pointer_before_call_; | 193 compiler::Node* stack_pointer_before_call_; |
193 | 194 |
194 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); | 195 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); |
195 }; | 196 }; |
196 | 197 |
197 } // namespace interpreter | 198 } // namespace interpreter |
198 } // namespace internal | 199 } // namespace internal |
199 } // namespace v8 | 200 } // namespace v8 |
200 | 201 |
201 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_ | 202 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_ |
OLD | NEW |