Index: src/ic/arm64/ic-arm64.cc |
diff --git a/src/ic/arm64/ic-arm64.cc b/src/ic/arm64/ic-arm64.cc |
index 104916964c7f2768f73c51067a7f3bf446fc3e60..27c4f714311b04d1d7c8360f3542d8eb0f280082 100644 |
--- a/src/ic/arm64/ic-arm64.cc |
+++ b/src/ic/arm64/ic-arm64.cc |
@@ -696,7 +696,7 @@ |
// change the IC from any downstream misses, a dummy vector can be used. |
Register vector = VectorStoreICDescriptor::VectorRegister(); |
Register slot = VectorStoreICDescriptor::SlotRegister(); |
- DCHECK(!AreAliased(vector, slot, x5, x6, x7, x8)); |
+ DCHECK(!AreAliased(vector, slot, x3, x4, x5, x6)); |
Handle<TypeFeedbackVector> dummy_vector = |
TypeFeedbackVector::DummyVector(masm->isolate()); |
int slot_index = dummy_vector->GetIndex( |
@@ -708,7 +708,7 @@ |
Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
Code::ComputeHandlerFlags(Code::STORE_IC)); |
masm->isolate()->stub_cache()->GenerateProbe(masm, Code::STORE_IC, flags, |
- receiver, key, x5, x6, x7, x8); |
+ receiver, key, x3, x4, x5, x6); |
// Cache miss. |
__ B(&miss); |
@@ -789,21 +789,19 @@ |
Register value = StoreDescriptor::ValueRegister(); |
Register receiver = StoreDescriptor::ReceiverRegister(); |
Register name = StoreDescriptor::NameRegister(); |
- Register vector = VectorStoreICDescriptor::VectorRegister(); |
- Register slot = VectorStoreICDescriptor::SlotRegister(); |
- Register dictionary = x5; |
- DCHECK(!AreAliased(value, receiver, name, slot, vector, x5, x6, x7)); |
+ Register dictionary = x3; |
+ DCHECK(!AreAliased(value, receiver, name, x3, x4, x5)); |
__ Ldr(dictionary, FieldMemOperand(receiver, JSObject::kPropertiesOffset)); |
- GenerateDictionaryStore(masm, &miss, dictionary, name, value, x6, x7); |
+ GenerateDictionaryStore(masm, &miss, dictionary, name, value, x4, x5); |
Counters* counters = masm->isolate()->counters(); |
- __ IncrementCounter(counters->store_normal_hit(), 1, x6, x7); |
+ __ IncrementCounter(counters->store_normal_hit(), 1, x4, x5); |
__ Ret(); |
// Cache miss: Jump to runtime. |
__ Bind(&miss); |
- __ IncrementCounter(counters->store_normal_miss(), 1, x6, x7); |
+ __ IncrementCounter(counters->store_normal_miss(), 1, x4, x5); |
GenerateMiss(masm); |
} |