Index: src/ic/mips/ic-mips.cc |
diff --git a/src/ic/mips/ic-mips.cc b/src/ic/mips/ic-mips.cc |
index a1a118135bd336970c449b4c644997148b48050f..a673dbf254f8bd84b9e1d30f33b409108bb1a511 100644 |
--- a/src/ic/mips/ic-mips.cc |
+++ b/src/ic/mips/ic-mips.cc |
@@ -681,7 +681,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, t1, t2, t4, t5)); |
+ DCHECK(!AreAliased(vector, slot, a3, t0, t1, t2)); |
Handle<TypeFeedbackVector> dummy_vector = |
TypeFeedbackVector::DummyVector(masm->isolate()); |
int slot_index = dummy_vector->GetIndex( |
@@ -693,7 +693,7 @@ |
Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
Code::ComputeHandlerFlags(Code::STORE_IC)); |
masm->isolate()->stub_cache()->GenerateProbe(masm, Code::STORE_IC, flags, |
- receiver, key, t1, t2, t4, t5); |
+ receiver, key, a3, t0, t1, t2); |
// Cache miss. |
__ Branch(&miss); |
@@ -794,22 +794,20 @@ |
Register receiver = StoreDescriptor::ReceiverRegister(); |
Register name = StoreDescriptor::NameRegister(); |
Register value = StoreDescriptor::ValueRegister(); |
- Register dictionary = t1; |
+ Register dictionary = a3; |
DCHECK(receiver.is(a1)); |
DCHECK(name.is(a2)); |
DCHECK(value.is(a0)); |
- DCHECK(VectorStoreICDescriptor::VectorRegister().is(a3)); |
- DCHECK(VectorStoreICDescriptor::SlotRegister().is(t0)); |
__ lw(dictionary, FieldMemOperand(receiver, JSObject::kPropertiesOffset)); |
- GenerateDictionaryStore(masm, &miss, dictionary, name, value, t2, t5); |
+ GenerateDictionaryStore(masm, &miss, dictionary, name, value, t0, t1); |
Counters* counters = masm->isolate()->counters(); |
- __ IncrementCounter(counters->store_normal_hit(), 1, t2, t5); |
+ __ IncrementCounter(counters->store_normal_hit(), 1, t0, t1); |
__ Ret(); |
__ bind(&miss); |
- __ IncrementCounter(counters->store_normal_miss(), 1, t2, t5); |
+ __ IncrementCounter(counters->store_normal_miss(), 1, t0, t1); |
GenerateMiss(masm); |
} |