| Index: src/crankshaft/x64/lithium-x64.cc
|
| diff --git a/src/crankshaft/x64/lithium-x64.cc b/src/crankshaft/x64/lithium-x64.cc
|
| index daedd721c109ed29e99c43593d008cd56140e821..79bd989d80aa87369e1add634f2fa96d6cfc857b 100644
|
| --- a/src/crankshaft/x64/lithium-x64.cc
|
| +++ b/src/crankshaft/x64/lithium-x64.cc
|
| @@ -1995,10 +1995,7 @@ LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), rsi);
|
| LOperand* global_object =
|
| UseFixed(instr->global_object(), LoadDescriptor::ReceiverRegister());
|
| - LOperand* vector = NULL;
|
| - if (instr->HasVectorAndSlot()) {
|
| - vector = FixedTemp(LoadWithVectorDescriptor::VectorRegister());
|
| - }
|
| + LOperand* vector = FixedTemp(LoadWithVectorDescriptor::VectorRegister());
|
|
|
| LLoadGlobalGeneric* result =
|
| new(zone()) LLoadGlobalGeneric(context, global_object, vector);
|
| @@ -2058,10 +2055,7 @@ LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), rsi);
|
| LOperand* object =
|
| UseFixed(instr->object(), LoadDescriptor::ReceiverRegister());
|
| - LOperand* vector = NULL;
|
| - if (instr->HasVectorAndSlot()) {
|
| - vector = FixedTemp(LoadWithVectorDescriptor::VectorRegister());
|
| - }
|
| + LOperand* vector = FixedTemp(LoadWithVectorDescriptor::VectorRegister());
|
| LLoadNamedGeneric* result = new(zone()) LLoadNamedGeneric(
|
| context, object, vector);
|
| return MarkAsCall(DefineFixed(result, rax), instr);
|
| @@ -2159,10 +2153,7 @@ LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) {
|
| LOperand* object =
|
| UseFixed(instr->object(), LoadDescriptor::ReceiverRegister());
|
| LOperand* key = UseFixed(instr->key(), LoadDescriptor::NameRegister());
|
| - LOperand* vector = NULL;
|
| - if (instr->HasVectorAndSlot()) {
|
| - vector = FixedTemp(LoadWithVectorDescriptor::VectorRegister());
|
| - }
|
| + LOperand* vector = FixedTemp(LoadWithVectorDescriptor::VectorRegister());
|
|
|
| LLoadKeyedGeneric* result =
|
| new(zone()) LLoadKeyedGeneric(context, object, key, vector);
|
| @@ -2243,12 +2234,8 @@ LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) {
|
| DCHECK(instr->key()->representation().IsTagged());
|
| DCHECK(instr->value()->representation().IsTagged());
|
|
|
| - LOperand* slot = NULL;
|
| - LOperand* vector = NULL;
|
| - if (instr->HasVectorAndSlot()) {
|
| - slot = FixedTemp(VectorStoreICDescriptor::SlotRegister());
|
| - vector = FixedTemp(VectorStoreICDescriptor::VectorRegister());
|
| - }
|
| + LOperand* slot = FixedTemp(VectorStoreICDescriptor::SlotRegister());
|
| + LOperand* vector = FixedTemp(VectorStoreICDescriptor::VectorRegister());
|
|
|
| LStoreKeyedGeneric* result = new (zone())
|
| LStoreKeyedGeneric(context, object, key, value, slot, vector);
|
| @@ -2355,12 +2342,8 @@ LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) {
|
| LOperand* object =
|
| UseFixed(instr->object(), StoreDescriptor::ReceiverRegister());
|
| LOperand* value = UseFixed(instr->value(), StoreDescriptor::ValueRegister());
|
| - LOperand* slot = NULL;
|
| - LOperand* vector = NULL;
|
| - if (instr->HasVectorAndSlot()) {
|
| - slot = FixedTemp(VectorStoreICDescriptor::SlotRegister());
|
| - vector = FixedTemp(VectorStoreICDescriptor::VectorRegister());
|
| - }
|
| + LOperand* slot = FixedTemp(VectorStoreICDescriptor::SlotRegister());
|
| + LOperand* vector = FixedTemp(VectorStoreICDescriptor::VectorRegister());
|
|
|
| LStoreNamedGeneric* result =
|
| new (zone()) LStoreNamedGeneric(context, object, value, slot, vector);
|
|
|