| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 // Returns the next consecutive register. | 70 // Returns the next consecutive register. |
| 71 compiler::Node* NextRegister(compiler::Node* reg_index); | 71 compiler::Node* NextRegister(compiler::Node* reg_index); |
| 72 | 72 |
| 73 // Returns the location in memory of the register |reg_index| in the | 73 // Returns the location in memory of the register |reg_index| in the |
| 74 // interpreter register file. | 74 // interpreter register file. |
| 75 compiler::Node* RegisterLocation(compiler::Node* reg_index); | 75 compiler::Node* RegisterLocation(compiler::Node* reg_index); |
| 76 | 76 |
| 77 // Load constant at |index| in the constant pool. | 77 // Load constant at |index| in the constant pool. |
| 78 compiler::Node* LoadConstantPoolEntry(compiler::Node* index); | 78 compiler::Node* LoadConstantPoolEntry(compiler::Node* index); |
| 79 | 79 |
| 80 // Load and untag constant at |index| in the constant pool. |
| 81 compiler::Node* LoadAndUntagConstantPoolEntry(compiler::Node* index); |
| 82 |
| 80 // Load |slot_index| from |context|. | 83 // Load |slot_index| from |context|. |
| 81 compiler::Node* LoadContextSlot(compiler::Node* context, int slot_index); | 84 compiler::Node* LoadContextSlot(compiler::Node* context, int slot_index); |
| 82 compiler::Node* LoadContextSlot(compiler::Node* context, | 85 compiler::Node* LoadContextSlot(compiler::Node* context, |
| 83 compiler::Node* slot_index); | 86 compiler::Node* slot_index); |
| 84 // Stores |value| into |slot_index| of |context|. | 87 // Stores |value| into |slot_index| of |context|. |
| 85 compiler::Node* StoreContextSlot(compiler::Node* context, | 88 compiler::Node* StoreContextSlot(compiler::Node* context, |
| 86 compiler::Node* slot_index, | 89 compiler::Node* slot_index, |
| 87 compiler::Node* value); | 90 compiler::Node* value); |
| 88 | 91 |
| 89 // Load the TypeFeedbackVector for the current function. | 92 // Load the TypeFeedbackVector for the current function. |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 compiler::Node* stack_pointer_before_call_; | 283 compiler::Node* stack_pointer_before_call_; |
| 281 | 284 |
| 282 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); | 285 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); |
| 283 }; | 286 }; |
| 284 | 287 |
| 285 } // namespace interpreter | 288 } // namespace interpreter |
| 286 } // namespace internal | 289 } // namespace internal |
| 287 } // namespace v8 | 290 } // namespace v8 |
| 288 | 291 |
| 289 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ | 292 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ |
| OLD | NEW |