Index: src/arm64/builtins-arm64.cc |
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc |
index 75e5f88fef7fdcb29e5a5838d79db806cd42574a..ca18f827450dac4fc09e5a748371511079647e54 100644 |
--- a/src/arm64/builtins-arm64.cc |
+++ b/src/arm64/builtins-arm64.cc |
@@ -700,8 +700,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ AssertGeneratorObject(x1); |
// Store input value into generator object. |
- __ Str(x0, FieldMemOperand(x1, JSGeneratorObject::kInputOffset)); |
- __ RecordWriteField(x1, JSGeneratorObject::kInputOffset, x0, x3, |
+ __ Str(x0, FieldMemOperand(x1, JSGeneratorObject::kInputOrDebugPosOffset)); |
+ __ RecordWriteField(x1, JSGeneratorObject::kInputOrDebugPosOffset, x0, x3, |
kLRHasNotBeenSaved, kDontSaveFPRegs); |
// Store resume mode into generator object. |