| Index: src/crankshaft/s390/lithium-s390.cc
|
| diff --git a/src/crankshaft/s390/lithium-s390.cc b/src/crankshaft/s390/lithium-s390.cc
|
| index fbc19704210726ed9f72da4fcbac449b5c07aca6..d0937e57078c356e6d6133835473114609a72b1d 100644
|
| --- a/src/crankshaft/s390/lithium-s390.cc
|
| +++ b/src/crankshaft/s390/lithium-s390.cc
|
| @@ -1814,10 +1814,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);
|
| return MarkAsCall(DefineFixed(result, r2), instr);
|
| @@ -1859,10 +1856,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), r2);
|
| @@ -1928,10 +1922,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), r2);
|
| @@ -1988,12 +1979,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, obj, key, val, slot, vector);
|
| @@ -2076,13 +2063,8 @@ LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) {
|
| LOperand* obj =
|
| UseFixed(instr->object(), StoreDescriptor::ReceiverRegister());
|
| LOperand* val = 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, obj, val, slot, vector);
|
| return MarkAsCall(result, instr);
|
|
|