Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index e4fa4d9bda99aa0b82ce4bc93ed3efcba934cbb5..8962267e51ac416f64c8c5e6409489d575228d12 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -2169,9 +2169,8 @@ void FullCodeGenerator::EmitGeneratorResume(Expression *generator, |
// Push holes for arguments to generator function. |
__ movp(rdx, FieldOperand(rdi, JSFunction::kSharedFunctionInfoOffset)); |
- __ movsxlq(rdx, |
- FieldOperand(rdx, |
- SharedFunctionInfo::kFormalParameterCountOffset)); |
+ __ LoadSharedFunctionInfoSpecialField(rdx, rdx, |
+ SharedFunctionInfo::kFormalParameterCountOffset); |
__ LoadRoot(rcx, Heap::kTheHoleValueRootIndex); |
Label push_argument_holes, push_frame; |
__ bind(&push_argument_holes); |