| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 compiler::Node* slot_index, | 77 compiler::Node* slot_index, |
| 78 compiler::Node* value); | 78 compiler::Node* value); |
| 79 | 79 |
| 80 // Load the TypeFeedbackVector for the current function. | 80 // Load the TypeFeedbackVector for the current function. |
| 81 compiler::Node* LoadTypeFeedbackVector(); | 81 compiler::Node* LoadTypeFeedbackVector(); |
| 82 | 82 |
| 83 // Call JSFunction or Callable |function| with |arg_count| | 83 // Call JSFunction or Callable |function| with |arg_count| |
| 84 // arguments (not including receiver) and the first argument | 84 // arguments (not including receiver) and the first argument |
| 85 // located at |first_arg|. | 85 // located at |first_arg|. |
| 86 compiler::Node* CallJS(compiler::Node* function, compiler::Node* context, | 86 compiler::Node* CallJS(compiler::Node* function, compiler::Node* context, |
| 87 compiler::Node* first_arg, compiler::Node* arg_count); | 87 compiler::Node* first_arg, compiler::Node* arg_count, |
| 88 TailCallMode tail_call_mode); |
| 88 | 89 |
| 89 // Call constructor |constructor| with |arg_count| arguments (not | 90 // Call constructor |constructor| with |arg_count| arguments (not |
| 90 // including receiver) and the first argument located at | 91 // including receiver) and the first argument located at |
| 91 // |first_arg|. The |new_target| is the same as the | 92 // |first_arg|. The |new_target| is the same as the |
| 92 // |constructor| for the new keyword, but differs for the super | 93 // |constructor| for the new keyword, but differs for the super |
| 93 // keyword. | 94 // keyword. |
| 94 compiler::Node* CallConstruct(compiler::Node* constructor, | 95 compiler::Node* CallConstruct(compiler::Node* constructor, |
| 95 compiler::Node* context, | 96 compiler::Node* context, |
| 96 compiler::Node* new_target, | 97 compiler::Node* new_target, |
| 97 compiler::Node* first_arg, | 98 compiler::Node* first_arg, |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 compiler::Node* stack_pointer_before_call_; | 185 compiler::Node* stack_pointer_before_call_; |
| 185 | 186 |
| 186 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); | 187 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); |
| 187 }; | 188 }; |
| 188 | 189 |
| 189 } // namespace interpreter | 190 } // namespace interpreter |
| 190 } // namespace internal | 191 } // namespace internal |
| 191 } // namespace v8 | 192 } // namespace v8 |
| 192 | 193 |
| 193 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ | 194 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ |
| OLD | NEW |