| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 110 |
| 111 // Call constructor |constructor| with |arg_count| arguments (not | 111 // Call constructor |constructor| with |arg_count| arguments (not |
| 112 // including receiver) and the first argument located at | 112 // including receiver) and the first argument located at |
| 113 // |first_arg|. The |new_target| is the same as the | 113 // |first_arg|. The |new_target| is the same as the |
| 114 // |constructor| for the new keyword, but differs for the super | 114 // |constructor| for the new keyword, but differs for the super |
| 115 // keyword. | 115 // keyword. |
| 116 compiler::Node* CallConstruct(compiler::Node* constructor, | 116 compiler::Node* CallConstruct(compiler::Node* constructor, |
| 117 compiler::Node* context, | 117 compiler::Node* context, |
| 118 compiler::Node* new_target, | 118 compiler::Node* new_target, |
| 119 compiler::Node* first_arg, | 119 compiler::Node* first_arg, |
| 120 compiler::Node* arg_count, | 120 compiler::Node* arg_count); |
| 121 compiler::Node* slot_id, | |
| 122 compiler::Node* type_feedback_vector); | |
| 123 | 121 |
| 124 // Call runtime function with |arg_count| arguments and the first argument | 122 // Call runtime function with |arg_count| arguments and the first argument |
| 125 // located at |first_arg|. | 123 // located at |first_arg|. |
| 126 compiler::Node* CallRuntimeN(compiler::Node* function_id, | 124 compiler::Node* CallRuntimeN(compiler::Node* function_id, |
| 127 compiler::Node* context, | 125 compiler::Node* context, |
| 128 compiler::Node* first_arg, | 126 compiler::Node* first_arg, |
| 129 compiler::Node* arg_count, int return_size = 1); | 127 compiler::Node* arg_count, int return_size = 1); |
| 130 | 128 |
| 131 // Jump relative to the current bytecode by |jump_offset|. | 129 // Jump relative to the current bytecode by |jump_offset|. |
| 132 compiler::Node* Jump(compiler::Node* jump_offset); | 130 compiler::Node* Jump(compiler::Node* jump_offset); |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 compiler::Node* stack_pointer_before_call_; | 280 compiler::Node* stack_pointer_before_call_; |
| 283 | 281 |
| 284 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); | 282 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); |
| 285 }; | 283 }; |
| 286 | 284 |
| 287 } // namespace interpreter | 285 } // namespace interpreter |
| 288 } // namespace internal | 286 } // namespace internal |
| 289 } // namespace v8 | 287 } // namespace v8 |
| 290 | 288 |
| 291 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ | 289 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ |
| OLD | NEW |