Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 5c3fd709800fbfdab1eb25c18ee8a54f6a3d56c5..3c9eb2d796fa1a74ba133f7b577fe5744fa4988a 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -1185,9 +1185,7 @@ LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { |
LOperand* context = UseFixed(instr->context(), rsi); |
LOperand* function = UseFixed(instr->function(), rdi); |
LCallFunction* call = new(zone()) LCallFunction(context, function); |
- LInstruction* result = DefineFixed(call, rax); |
- if (instr->IsTailCall()) return result; |
- return MarkAsCall(result, instr); |
+ return MarkAsCall(DefineFixed(call, rax), instr); |
} |
@@ -1606,19 +1604,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); |
- return DefineSameAsFirst(result); |
-} |
- |
- |
LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { |
LOperand* object = UseFixed(instr->value(), rax); |
LDateField* result = new(zone()) LDateField(object, instr->index()); |
@@ -1672,13 +1657,6 @@ LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
} |
-LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
- LOperand* context = UseFixed(instr->context(), rsi); |
- LOperand* value = UseFixed(instr->value(), rax); |
- return MarkAsCall(new(zone()) LThrow(context, value), instr); |
-} |
- |
- |
LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
return NULL; |
} |