Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index d50313f88f3137ab5a40157a5f72b2542d1db551..4ebcb30ff8896a6e8c038fb74bd3ac3ff18583d5 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1265,9 +1265,7 @@ LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { |
LOperand* context = UseFixed(instr->context(), esi); |
LOperand* function = UseFixed(instr->function(), edi); |
LCallFunction* call = new(zone()) LCallFunction(context, function); |
- LInstruction* result = DefineFixed(call, eax); |
- if (instr->IsTailCall()) return result; |
- return MarkAsCall(result, instr); |
+ return MarkAsCall(DefineFixed(call, eax), instr); |
} |
@@ -1697,19 +1695,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 DefineSameAsFirst(result); |
-} |
- |
- |
LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { |
LOperand* date = UseFixed(instr->value(), eax); |
LDateField* result = |
@@ -1779,13 +1764,6 @@ LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
} |
-LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
- LOperand* context = UseFixed(instr->context(), esi); |
- LOperand* value = UseFixed(instr->value(), eax); |
- return MarkAsCall(new(zone()) LThrow(context, value), instr); |
-} |
- |
- |
LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
return NULL; |
} |