Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 3885b6b6967526d111d3aa212b3bd3a4be8cfd60..e670d343d9d8dee26068c29912258588dc2cfd2a 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1183,9 +1183,7 @@ LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { |
LOperand* context = UseFixed(instr->context(), cp); |
LOperand* function = UseFixed(instr->function(), r1); |
LCallFunction* call = new(zone()) LCallFunction(context, function); |
- LInstruction* result = DefineFixed(call, r0); |
- if (instr->IsTailCall()) return result; |
- return MarkAsCall(result, instr); |
+ return MarkAsCall(DefineFixed(call, r0), instr); |
} |
@@ -1705,19 +1703,6 @@ LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { |
} |
-LInstruction* LChunkBuilder::DoElementsKind(HElementsKind* instr) { |
- LOperand* object = UseRegisterAtStart(instr->value()); |
- return DefineAsRegister(new(zone()) LElementsKind(object)); |
-} |
- |
- |
-LInstruction* LChunkBuilder::DoValueOf(HValueOf* instr) { |
- LOperand* object = UseRegister(instr->value()); |
- LValueOf* result = new(zone()) LValueOf(object, TempRegister()); |
- return DefineAsRegister(result); |
-} |
- |
- |
LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { |
LOperand* object = UseFixed(instr->value(), r0); |
LDateField* result = |
@@ -1765,13 +1750,6 @@ LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
} |
-LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
- LOperand* context = UseFixed(instr->context(), cp); |
- LOperand* value = UseFixed(instr->value(), r0); |
- return MarkAsCall(new(zone()) LThrow(context, value), instr); |
-} |
- |
- |
LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
return NULL; |
} |