| Index: src/crankshaft/arm64/lithium-arm64.cc
|
| diff --git a/src/crankshaft/arm64/lithium-arm64.cc b/src/crankshaft/arm64/lithium-arm64.cc
|
| index 2154398eed793299dbb7c5ca663f6d368c6fb953..d00bc17d4734f77ee822de10c8f66e4d4c0729a7 100644
|
| --- a/src/crankshaft/arm64/lithium-arm64.cc
|
| +++ b/src/crankshaft/arm64/lithium-arm64.cc
|
| @@ -1555,10 +1555,7 @@ LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), cp);
|
| 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);
|
| @@ -1621,10 +1618,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());
|
|
|
| LInstruction* result =
|
| DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key, vector),
|
| @@ -1643,10 +1637,7 @@ LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), cp);
|
| LOperand* object =
|
| UseFixed(instr->object(), LoadDescriptor::ReceiverRegister());
|
| - LOperand* vector = NULL;
|
| - if (instr->HasVectorAndSlot()) {
|
| - vector = FixedTemp(LoadWithVectorDescriptor::VectorRegister());
|
| - }
|
| + LOperand* vector = FixedTemp(LoadWithVectorDescriptor::VectorRegister());
|
|
|
| LInstruction* result =
|
| DefineFixed(new(zone()) LLoadNamedGeneric(context, object, vector), x0);
|
| @@ -2246,12 +2237,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);
|
| @@ -2294,12 +2281,8 @@ LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) {
|
| 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);
|
|
|