| 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. | |
| 38 compiler::Node* BytecodeOperandIdx(int operand_index); | 35 compiler::Node* BytecodeOperandIdx(int operand_index); |
| 39 // Returns the smi index immediate for bytecode operand |operand_index| | 36 // Returns the smi index immediate for bytecode operand |operand_index| |
| 40 // in the current bytecode. | 37 // in the current bytecode. |
| 41 compiler::Node* BytecodeOperandIdxSmi(int operand_index); | 38 compiler::Node* BytecodeOperandIdxSmi(int operand_index); |
| 42 // Returns the 32-bit unsigned immediate for bytecode operand |operand_index| | 39 // Returns the 32-bit unsigned immediate for bytecode operand |operand_index| |
| 43 // in the current bytecode. | 40 // in the current bytecode. |
| 44 compiler::Node* BytecodeOperandUImm(int operand_index); | 41 compiler::Node* BytecodeOperandUImm(int operand_index); |
| 45 // Returns the word-size unsigned immediate for bytecode operand | 42 // Returns the word-size unsigned immediate for bytecode operand |
| 46 // |operand_index| in the current bytecode. | 43 // |operand_index| in the current bytecode. |
| 47 compiler::Node* BytecodeOperandUImmWord(int operand_index); | 44 compiler::Node* BytecodeOperandUImmWord(int operand_index); |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 compiler::Node* stack_pointer_before_call_; | 352 compiler::Node* stack_pointer_before_call_; |
| 356 | 353 |
| 357 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); | 354 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); |
| 358 }; | 355 }; |
| 359 | 356 |
| 360 } // namespace interpreter | 357 } // namespace interpreter |
| 361 } // namespace internal | 358 } // namespace internal |
| 362 } // namespace v8 | 359 } // namespace v8 |
| 363 | 360 |
| 364 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ | 361 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ |
| OLD | NEW |