| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index 0b3bab0c8fd2e1580252368f56b98f57947e3861..6d622b855d587c6691d34d9d82ae0a9d16a625d1 100644
|
| --- a/src/x64/builtins-x64.cc
|
| +++ b/src/x64/builtins-x64.cc
|
| @@ -1804,10 +1804,9 @@ void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) {
|
| void Builtins::Generate_ConstructFunction(MacroAssembler* masm) {
|
| // ----------- S t a t e -------------
|
| // -- rax : the number of arguments (not including the receiver)
|
| - // -- rdx : the new target (checked to be a JSFunction)
|
| + // -- rdx : the new target (checked to be a constructor)
|
| // -- rdi : the constructor to call (checked to be a JSFunction)
|
| // -----------------------------------
|
| - __ AssertFunction(rdx);
|
| __ AssertFunction(rdi);
|
|
|
| // Calling convention for function specific ConstructStubs require
|
|
|