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 ~InterpreterAssembler(); | 25 ~InterpreterAssembler(); |
26 | 26 |
27 // Returns the 32-bit unsigned count immediate for bytecode operand | 27 // Returns the 32-bit unsigned count immediate for bytecode operand |
28 // |operand_index| in the current bytecode. | 28 // |operand_index| in the current bytecode. |
29 compiler::Node* BytecodeOperandCount(int operand_index); | 29 compiler::Node* BytecodeOperandCount(int operand_index); |
30 // Returns the 32-bit unsigned flag for bytecode operand |operand_index| | 30 // Returns the 32-bit unsigned flag for bytecode operand |operand_index| |
31 // in the current bytecode. | 31 // in the current bytecode. |
32 compiler::Node* BytecodeOperandFlag(int operand_index); | 32 compiler::Node* BytecodeOperandFlag(int operand_index); |
33 // Returns the 32-bit zero-extended index immediate for bytecode operand | 33 // Returns the 32-bit zero-extended index immediate for bytecode operand |
34 // |operand_index| in the current bytecode. | 34 // |operand_index| in the current bytecode. |
| 35 compiler::Node* BytecodeOperandIdxInt32(int operand_index); |
| 36 // Returns the word zero-extended index immediate for bytecode operand |
| 37 // |operand_index| in the current bytecode. |
35 compiler::Node* BytecodeOperandIdx(int operand_index); | 38 compiler::Node* BytecodeOperandIdx(int operand_index); |
36 // Returns the smi index immediate for bytecode operand |operand_index| | 39 // Returns the smi index immediate for bytecode operand |operand_index| |
37 // in the current bytecode. | 40 // in the current bytecode. |
38 compiler::Node* BytecodeOperandIdxSmi(int operand_index); | 41 compiler::Node* BytecodeOperandIdxSmi(int operand_index); |
39 // Returns the 32-bit unsigned immediate for bytecode operand |operand_index| | 42 // Returns the 32-bit unsigned immediate for bytecode operand |operand_index| |
40 // in the current bytecode. | 43 // in the current bytecode. |
41 compiler::Node* BytecodeOperandUImm(int operand_index); | 44 compiler::Node* BytecodeOperandUImm(int operand_index); |
42 // Returns the word-size unsigned immediate for bytecode operand | 45 // Returns the word-size unsigned immediate for bytecode operand |
43 // |operand_index| in the current bytecode. | 46 // |operand_index| in the current bytecode. |
44 compiler::Node* BytecodeOperandUImmWord(int operand_index); | 47 compiler::Node* BytecodeOperandUImmWord(int operand_index); |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 compiler::Node* stack_pointer_before_call_; | 346 compiler::Node* stack_pointer_before_call_; |
344 | 347 |
345 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); | 348 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); |
346 }; | 349 }; |
347 | 350 |
348 } // namespace interpreter | 351 } // namespace interpreter |
349 } // namespace internal | 352 } // namespace internal |
350 } // namespace v8 | 353 } // namespace v8 |
351 | 354 |
352 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ | 355 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ |
OLD | NEW |