Index: src/crankshaft/x87/lithium-x87.cc |
diff --git a/src/crankshaft/x87/lithium-x87.cc b/src/crankshaft/x87/lithium-x87.cc |
index 7df70ae21f1066e5217425a64fec4335c61a7c77..06560512777740b88cd2bd99a80523c7a651bc16 100644 |
--- a/src/crankshaft/x87/lithium-x87.cc |
+++ b/src/crankshaft/x87/lithium-x87.cc |
@@ -2007,10 +2007,7 @@ LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), esi); |
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); |
@@ -2061,10 +2058,7 @@ LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), esi); |
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, eax), instr); |
@@ -2134,10 +2128,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); |
return MarkAsCall(DefineFixed(result, eax), instr); |
@@ -2227,12 +2218,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); |
@@ -2346,12 +2333,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); |