Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 91e2911983ec540e6cc6a5eefa7da38ce557f408..9cd53ab9eecf00053dfc7ded4daca0fcea031222 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -2891,21 +2891,22 @@ template <class T> |
void LCodeGen::EmitVectorLoadICRegisters(T* instr) { |
DCHECK(FLAG_vector_ics); |
Register vector = ToRegister(instr->temp_vector()); |
- DCHECK(vector.is(LoadIC::VectorRegister())); |
+ DCHECK(vector.is(FullVectorLoadConvention::VectorRegister())); |
__ li(vector, instr->hydrogen()->feedback_vector()); |
// No need to allocate this register. |
- DCHECK(LoadIC::SlotRegister().is(a0)); |
- __ li(LoadIC::SlotRegister(), |
+ DCHECK(FullVectorLoadConvention::SlotRegister().is(a0)); |
+ __ li(FullVectorLoadConvention::SlotRegister(), |
Operand(Smi::FromInt(instr->hydrogen()->slot()))); |
} |
void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->global_object()).is(LoadIC::ReceiverRegister())); |
+ DCHECK(ToRegister(instr->global_object()) |
+ .is(LoadConvention::ReceiverRegister())); |
DCHECK(ToRegister(instr->result()).is(v0)); |
- __ li(LoadIC::NameRegister(), Operand(instr->name())); |
+ __ li(LoadConvention::NameRegister(), Operand(instr->name())); |
if (FLAG_vector_ics) { |
EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr); |
} |
@@ -3029,11 +3030,11 @@ void LCodeGen::DoLoadNamedField(LLoadNamedField* instr) { |
void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->object()).is(LoadIC::ReceiverRegister())); |
+ DCHECK(ToRegister(instr->object()).is(LoadConvention::ReceiverRegister())); |
DCHECK(ToRegister(instr->result()).is(v0)); |
// Name is always in a2. |
- __ li(LoadIC::NameRegister(), Operand(instr->name())); |
+ __ li(LoadConvention::NameRegister(), Operand(instr->name())); |
if (FLAG_vector_ics) { |
EmitVectorLoadICRegisters<LLoadNamedGeneric>(instr); |
} |
@@ -3338,8 +3339,8 @@ MemOperand LCodeGen::PrepareKeyedOperand(Register key, |
void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->object()).is(LoadIC::ReceiverRegister())); |
- DCHECK(ToRegister(instr->key()).is(LoadIC::NameRegister())); |
+ DCHECK(ToRegister(instr->object()).is(LoadConvention::ReceiverRegister())); |
+ DCHECK(ToRegister(instr->key()).is(LoadConvention::NameRegister())); |
if (FLAG_vector_ics) { |
EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr); |
@@ -4154,10 +4155,10 @@ void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) { |
void LCodeGen::DoStoreNamedGeneric(LStoreNamedGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->object()).is(StoreIC::ReceiverRegister())); |
- DCHECK(ToRegister(instr->value()).is(StoreIC::ValueRegister())); |
+ DCHECK(ToRegister(instr->object()).is(StoreConvention::ReceiverRegister())); |
+ DCHECK(ToRegister(instr->value()).is(StoreConvention::ValueRegister())); |
- __ li(StoreIC::NameRegister(), Operand(instr->name())); |
+ __ li(StoreConvention::NameRegister(), Operand(instr->name())); |
Handle<Code> ic = StoreIC::initialize_stub(isolate(), instr->strict_mode()); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -4385,9 +4386,9 @@ void LCodeGen::DoStoreKeyed(LStoreKeyed* instr) { |
void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->object()).is(KeyedStoreIC::ReceiverRegister())); |
- DCHECK(ToRegister(instr->key()).is(KeyedStoreIC::NameRegister())); |
- DCHECK(ToRegister(instr->value()).is(KeyedStoreIC::ValueRegister())); |
+ DCHECK(ToRegister(instr->object()).is(StoreConvention::ReceiverRegister())); |
+ DCHECK(ToRegister(instr->key()).is(StoreConvention::NameRegister())); |
+ DCHECK(ToRegister(instr->value()).is(StoreConvention::ValueRegister())); |
Handle<Code> ic = (instr->strict_mode() == STRICT) |
? isolate()->builtins()->KeyedStoreIC_Initialize_Strict() |