| Index: src/x64/lithium-x64.cc
|
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
|
| index f1821d3555943bb0bf050b3bf6760e0f4347c199..005fbdba1cc87940e90b11dc4e25a496b7514708 100644
|
| --- a/src/x64/lithium-x64.cc
|
| +++ b/src/x64/lithium-x64.cc
|
| @@ -2043,8 +2043,13 @@ LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), rsi);
|
| 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, rax), instr);
|
| }
|
|
|
| @@ -2110,7 +2115,12 @@ LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) {
|
| LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), rsi);
|
| LOperand* object = UseFixed(instr->object(), LoadIC::ReceiverRegister());
|
| - LLoadNamedGeneric* result = new(zone()) LLoadNamedGeneric(context, object);
|
| + LOperand* vector = NULL;
|
| + if (FLAG_vector_ics) {
|
| + vector = FixedTemp(LoadIC::VectorRegister());
|
| + }
|
| + LLoadNamedGeneric* result = new(zone()) LLoadNamedGeneric(
|
| + context, object, vector);
|
| return MarkAsCall(DefineFixed(result, rax), instr);
|
| }
|
|
|
| @@ -2197,9 +2207,13 @@ LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), rsi);
|
| 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());
|
| + }
|
|
|
| LLoadKeyedGeneric* result =
|
| - new(zone()) LLoadKeyedGeneric(context, object, key);
|
| + new(zone()) LLoadKeyedGeneric(context, object, key, vector);
|
| return MarkAsCall(DefineFixed(result, rax), instr);
|
| }
|
|
|
|
|