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); | |
47 | 44 |
48 // Accumulator. | 45 // Accumulator. |
49 compiler::Node* GetAccumulator(); | 46 compiler::Node* GetAccumulator(); |
50 void SetAccumulator(compiler::Node* value); | 47 void SetAccumulator(compiler::Node* value); |
51 | 48 |
52 // Context. | 49 // Context. |
53 compiler::Node* GetContext(); | 50 compiler::Node* GetContext(); |
54 void SetContext(compiler::Node* value); | 51 void SetContext(compiler::Node* value); |
55 | 52 |
56 // Number of registers. | 53 // Number of registers. |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 compiler::Node* stack_pointer_before_call_; | 237 compiler::Node* stack_pointer_before_call_; |
241 | 238 |
242 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); | 239 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); |
243 }; | 240 }; |
244 | 241 |
245 } // namespace interpreter | 242 } // namespace interpreter |
246 } // namespace internal | 243 } // namespace internal |
247 } // namespace v8 | 244 } // namespace v8 |
248 | 245 |
249 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ | 246 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ |
OLD | NEW |