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 23 matching lines...) Expand all Loading... |
34 compiler::Node* BytecodeOperandIdx(int operand_index); | 34 compiler::Node* BytecodeOperandIdx(int operand_index); |
35 // Returns the Imm8 immediate for bytecode operand |operand_index| in the | 35 // Returns the Imm8 immediate for bytecode operand |operand_index| in the |
36 // current bytecode. | 36 // current bytecode. |
37 compiler::Node* BytecodeOperandImm(int operand_index); | 37 compiler::Node* BytecodeOperandImm(int operand_index); |
38 // Returns the register index for bytecode operand |operand_index| in the | 38 // Returns the register index for bytecode operand |operand_index| in the |
39 // current bytecode. | 39 // current bytecode. |
40 compiler::Node* BytecodeOperandReg(int operand_index); | 40 compiler::Node* BytecodeOperandReg(int operand_index); |
41 // Returns the runtime id immediate for bytecode operand | 41 // Returns the runtime id immediate for bytecode operand |
42 // |operand_index| in the current bytecode. | 42 // |operand_index| in the current bytecode. |
43 compiler::Node* BytecodeOperandRuntimeId(int operand_index); | 43 compiler::Node* BytecodeOperandRuntimeId(int operand_index); |
| 44 // Returns the intrinsic id immediate for bytecode operand |
| 45 // |operand_index| in the current bytecode. |
| 46 compiler::Node* BytecodeOperandIntrinsicId(int operand_index); |
44 | 47 |
45 // Accumulator. | 48 // Accumulator. |
46 compiler::Node* GetAccumulator(); | 49 compiler::Node* GetAccumulator(); |
47 void SetAccumulator(compiler::Node* value); | 50 void SetAccumulator(compiler::Node* value); |
48 | 51 |
49 // Context. | 52 // Context. |
50 compiler::Node* GetContext(); | 53 compiler::Node* GetContext(); |
51 void SetContext(compiler::Node* value); | 54 void SetContext(compiler::Node* value); |
52 | 55 |
53 // Number of registers. | 56 // Number of registers. |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 compiler::Node* stack_pointer_before_call_; | 241 compiler::Node* stack_pointer_before_call_; |
239 | 242 |
240 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); | 243 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); |
241 }; | 244 }; |
242 | 245 |
243 } // namespace interpreter | 246 } // namespace interpreter |
244 } // namespace internal | 247 } // namespace internal |
245 } // namespace v8 | 248 } // namespace v8 |
246 | 249 |
247 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ | 250 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ |
OLD | NEW |