Index: src/a64/code-stubs-a64.h |
diff --git a/src/a64/code-stubs-a64.h b/src/a64/code-stubs-a64.h |
index c3a2c0f18565423aa72b2d2a912e245dcd893b0b..6e79fb9bd4dd8c7fc3941822db3489c2b09ec099 100644 |
--- a/src/a64/code-stubs-a64.h |
+++ b/src/a64/code-stubs-a64.h |
@@ -262,7 +262,7 @@ class RecordWriteStub: public PlatformCodeStub { |
// - x29 frame pointer |
// - x30 link register(lr) |
// - x31 xzr/stack pointer |
- CPURegList list(CPURegister::kRegister, kXRegSize, 0, 25); |
+ CPURegList list(CPURegister::kRegister, kXRegSizeInBits, 0, 25); |
// We also remove MacroAssembler's scratch registers. |
list.Remove(ip0); |