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/builtins/builtins.h" | 9 #include "src/builtins/builtins.h" |
10 #include "src/code-stub-assembler.h" | 10 #include "src/code-stub-assembler.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 // Returns the count immediate for bytecode operand |operand_index| in the | 26 // Returns the count immediate for bytecode operand |operand_index| in the |
27 // current bytecode. | 27 // current bytecode. |
28 compiler::Node* BytecodeOperandCount(int operand_index); | 28 compiler::Node* BytecodeOperandCount(int operand_index); |
29 // Returns the 8-bit flag for bytecode operand |operand_index| in the | 29 // Returns the 8-bit flag for bytecode operand |operand_index| in the |
30 // current bytecode. | 30 // current bytecode. |
31 compiler::Node* BytecodeOperandFlag(int operand_index); | 31 compiler::Node* BytecodeOperandFlag(int operand_index); |
32 // Returns the index immediate for bytecode operand |operand_index| in the | 32 // Returns the index immediate for bytecode operand |operand_index| in the |
33 // current bytecode. | 33 // current bytecode. |
34 compiler::Node* BytecodeOperandIdx(int operand_index); | 34 compiler::Node* BytecodeOperandIdx(int operand_index); |
| 35 // Returns the UImm8 immediate for bytecode operand |operand_index| in the |
| 36 // current bytecode. |
| 37 compiler::Node* BytecodeOperandUImm(int operand_index); |
35 // Returns the Imm8 immediate for bytecode operand |operand_index| in the | 38 // Returns the Imm8 immediate for bytecode operand |operand_index| in the |
36 // current bytecode. | 39 // current bytecode. |
37 compiler::Node* BytecodeOperandImm(int operand_index); | 40 compiler::Node* BytecodeOperandImm(int operand_index); |
38 // Returns the register index for bytecode operand |operand_index| in the | 41 // Returns the register index for bytecode operand |operand_index| in the |
39 // current bytecode. | 42 // current bytecode. |
40 compiler::Node* BytecodeOperandReg(int operand_index); | 43 compiler::Node* BytecodeOperandReg(int operand_index); |
41 // Returns the runtime id immediate for bytecode operand | 44 // Returns the runtime id immediate for bytecode operand |
42 // |operand_index| in the current bytecode. | 45 // |operand_index| in the current bytecode. |
43 compiler::Node* BytecodeOperandRuntimeId(int operand_index); | 46 compiler::Node* BytecodeOperandRuntimeId(int operand_index); |
44 // Returns the intrinsic id immediate for bytecode operand | 47 // Returns the intrinsic id immediate for bytecode operand |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 compiler::Node* stack_pointer_before_call_; | 298 compiler::Node* stack_pointer_before_call_; |
296 | 299 |
297 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); | 300 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); |
298 }; | 301 }; |
299 | 302 |
300 } // namespace interpreter | 303 } // namespace interpreter |
301 } // namespace internal | 304 } // namespace internal |
302 } // namespace v8 | 305 } // namespace v8 |
303 | 306 |
304 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ | 307 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ |
OLD | NEW |