| Index: src/builtins/x87/builtins-x87.cc
|
| diff --git a/src/builtins/x87/builtins-x87.cc b/src/builtins/x87/builtins-x87.cc
|
| index e766023c67cf90690b936e57cc1b7dc80ce6d6f2..1885ca6295ba875fb13bd6e88eb8130f6d6a1ac5 100644
|
| --- a/src/builtins/x87/builtins-x87.cc
|
| +++ b/src/builtins/x87/builtins-x87.cc
|
| @@ -451,7 +451,7 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) {
|
| __ PushReturnAddressFrom(eax);
|
| __ mov(eax, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
|
| __ mov(eax,
|
| - FieldOperand(ecx, SharedFunctionInfo::kFormalParameterCountOffset));
|
| + FieldOperand(eax, SharedFunctionInfo::kFormalParameterCountOffset));
|
| // We abuse new.target both to indicate that this is a resume call and to
|
| // pass in the generator object. In ordinary calls, new.target is always
|
| // undefined because generator functions are non-constructable.
|
|
|