Index: src/arm64/debug-arm64.cc |
diff --git a/src/arm64/debug-arm64.cc b/src/arm64/debug-arm64.cc |
index f57d5b5ab2f046a057ee8107009e903ce2081ea9..dae5a28434a898ac3bd801150d457604dd0b7552 100644 |
--- a/src/arm64/debug-arm64.cc |
+++ b/src/arm64/debug-arm64.cc |
@@ -238,7 +238,11 @@ void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
// Calling convention for IC load (from ic-arm.cc). |
Register receiver = LoadDescriptor::ReceiverRegister(); |
Register name = LoadDescriptor::NameRegister(); |
- Generate_DebugBreakCallHelper(masm, receiver.Bit() | name.Bit(), 0, x10); |
+ RegList regs = receiver.Bit() | name.Bit(); |
+ if (FLAG_vector_ics) { |
+ regs |= VectorLoadICTrampolineDescriptor::SlotRegister().Bit(); |
+ } |
+ Generate_DebugBreakCallHelper(masm, regs, 0, x10); |
} |