Index: src/mips64/lithium-mips64.cc |
diff --git a/src/mips64/lithium-mips64.cc b/src/mips64/lithium-mips64.cc |
index 8ecd15400dee037432e936ccf70eae276d7a2a8a..1f5f5784778936f0fb25aa3b1628e7c0b3ee3608 100644 |
--- a/src/mips64/lithium-mips64.cc |
+++ b/src/mips64/lithium-mips64.cc |
@@ -2030,8 +2030,12 @@ LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), cp); |
LOperand* global_object = UseFixed(instr->global_object(), |
LoadIC::ReceiverRegister()); |
+ LOperand* vector = NULL; |
+ if (FLAG_vector_ics) { |
+ vector = FixedTemp(LoadIC::VectorRegister()); |
+ } |
LLoadGlobalGeneric* result = |
- new(zone()) LLoadGlobalGeneric(context, global_object); |
+ new(zone()) LLoadGlobalGeneric(context, global_object, vector); |
return MarkAsCall(DefineFixed(result, v0), instr); |
} |
@@ -2084,8 +2088,13 @@ LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) { |
LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), cp); |
LOperand* object = UseFixed(instr->object(), LoadIC::ReceiverRegister()); |
+ LOperand* vector = NULL; |
+ if (FLAG_vector_ics) { |
+ vector = FixedTemp(LoadIC::VectorRegister()); |
+ } |
+ |
LInstruction* result = |
- DefineFixed(new(zone()) LLoadNamedGeneric(context, object), v0); |
+ DefineFixed(new(zone()) LLoadNamedGeneric(context, object, vector), v0); |
return MarkAsCall(result, instr); |
} |
@@ -2146,9 +2155,14 @@ LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), cp); |
LOperand* object = UseFixed(instr->object(), LoadIC::ReceiverRegister()); |
LOperand* key = UseFixed(instr->key(), LoadIC::NameRegister()); |
+ LOperand* vector = NULL; |
+ if (FLAG_vector_ics) { |
+ vector = FixedTemp(LoadIC::VectorRegister()); |
+ } |
LInstruction* result = |
- DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key), v0); |
+ DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key, vector), |
+ v0); |
return MarkAsCall(result, instr); |
} |