Index: src/ic/arm64/ic-arm64.cc |
diff --git a/src/ic/arm64/ic-arm64.cc b/src/ic/arm64/ic-arm64.cc |
index eb52fe8cd1da59b4a816e9d469aeacbb5eef3709..40082bbbecba7c70fce70464d7a5d92abce67ed0 100644 |
--- a/src/ic/arm64/ic-arm64.cc |
+++ b/src/ic/arm64/ic-arm64.cc |
@@ -729,14 +729,14 @@ |
void StoreIC::GenerateMegamorphic(MacroAssembler* masm) { |
Register receiver = StoreDescriptor::ReceiverRegister(); |
Register name = StoreDescriptor::NameRegister(); |
- DCHECK(!AreAliased(receiver, name, StoreDescriptor::ValueRegister(), x5, x6, |
- x7, x8)); |
+ DCHECK(!AreAliased(receiver, name, StoreDescriptor::ValueRegister(), x3, x4, |
+ x5, x6)); |
// Probe the stub cache. |
Code::Flags flags = |
Code::RemoveHolderFromFlags(Code::ComputeHandlerFlags(Code::STORE_IC)); |
masm->isolate()->stub_cache()->GenerateProbe(masm, Code::STORE_IC, flags, |
- receiver, name, x5, x6, x7, x8); |
+ receiver, name, x3, x4, x5, x6); |
// Cache miss: Jump to runtime. |
GenerateMiss(masm); |