Index: src/a64/debug-a64.cc |
diff --git a/src/a64/debug-a64.cc b/src/a64/debug-a64.cc |
index 2c0ced33f67b85fe4ad0c73e110b4df64a0cf35d..05c005aa4732a024a3140cfda754377fac01bba0 100644 |
--- a/src/a64/debug-a64.cc |
+++ b/src/a64/debug-a64.cc |
@@ -179,7 +179,7 @@ static void Generate_DebugBreakCallHelper(MacroAssembler* masm, |
STATIC_ASSERT(kSmiValueSize == 32); |
CPURegList non_object_list = |
- CPURegList(CPURegister::kRegister, kXRegSize, non_object_regs); |
+ CPURegList(CPURegister::kRegister, kXRegSizeInBits, non_object_regs); |
while (!non_object_list.IsEmpty()) { |
// Store each non-object register as two SMIs. |
Register reg = Register(non_object_list.PopLowestIndex()); |
@@ -213,7 +213,7 @@ static void Generate_DebugBreakCallHelper(MacroAssembler* masm, |
} |
non_object_list = |
- CPURegList(CPURegister::kRegister, kXRegSize, non_object_regs); |
+ CPURegList(CPURegister::kRegister, kXRegSizeInBits, non_object_regs); |
while (!non_object_list.IsEmpty()) { |
// Load each non-object register from two SMIs. |
// Stack: |