| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index 6071846c30ec31caa64fb47ad5d2b7727a1c98cb..6ed8add0b0cc2a373b579418b29586e34ccd73f9 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -2087,8 +2087,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, r0), instr);
|
| }
|
|
|
| @@ -2141,8 +2145,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), r0);
|
| + DefineFixed(new(zone()) LLoadNamedGeneric(context, object, vector), r0);
|
| return MarkAsCall(result, instr);
|
| }
|
|
|
| @@ -2202,9 +2211,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), r0);
|
| + DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key, vector),
|
| + r0);
|
| return MarkAsCall(result, instr);
|
| }
|
|
|
|
|