Chromium Code Reviews| Index: src/compiler/interpreter-assembler.h |
| diff --git a/src/compiler/interpreter-assembler.h b/src/compiler/interpreter-assembler.h |
| index 5e75c360d81fe0f9290ee8edf53fe0c9511f8c98..cd9ecf4899030fc622fc96b29723e4e946edceb9 100644 |
| --- a/src/compiler/interpreter-assembler.h |
| +++ b/src/compiler/interpreter-assembler.h |
| @@ -96,8 +96,17 @@ class InterpreterAssembler { |
| // Load the TypeFeedbackVector for the current function. |
| Node* LoadTypeFeedbackVector(); |
| - // Call JSFunction or Callable |function| with |arg_count| (not including |
| - // receiver) and the first argument located at |first_arg|. |
| + // Call constructor |constructor| with |arg_count| arguments (not |
| + // including receiver) and the first argument located at |
| + // |first_arg|. The |original_constructor| is the same as the |
| + // |constructor| for the new keyword, but differs for the super |
| + // keyword. |
| + Node* CallConstruct(Node* original_constructor, Node* constructor, |
| + Node* first_arg, Node* arg_count); |
| + |
| + // Call JSFunction or Callable |function| with |arg_count| |
| + // argumnents (not including receiver) and the first argument |
|
rmcilroy
2015/10/13 14:07:29
/s/argumnents/arguments
oth
2015/10/14 08:40:09
Done.
|
| + // located at |first_arg|. |
| Node* CallJS(Node* function, Node* first_arg, Node* arg_count); |
| // Call an IC code stub. |