Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 1d41505b6dbe10af4a298f181fcbab1ce8d2fc81..f10ab25bc79d7013fc430df6206126cd470deca1 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -235,15 +235,6 @@ void LCmpIDAndBranch::PrintDataTo(StringStream* stream) { |
} |
-void LIsNilAndBranch::PrintDataTo(StringStream* stream) { |
- stream->Add("if "); |
- value()->PrintTo(stream); |
- stream->Add(kind() == kStrictEquality ? " === " : " == "); |
- stream->Add(nil() == kNullValue ? "null" : "undefined"); |
- stream->Add(" then B%d else B%d", true_block_id(), false_block_id()); |
-} |
- |
- |
void LIsObjectAndBranch::PrintDataTo(StringStream* stream) { |
stream->Add("if is_object("); |
value()->PrintTo(stream); |
@@ -1733,13 +1724,6 @@ LInstruction* LChunkBuilder::DoCompareConstantEqAndBranch( |
} |
-LInstruction* LChunkBuilder::DoIsNilAndBranch(HIsNilAndBranch* instr) { |
- // We only need a temp register for non-strict compare. |
- LOperand* temp = instr->kind() == kStrictEquality ? NULL : TempRegister(); |
- return new(zone()) LIsNilAndBranch(UseRegisterAtStart(instr->value()), temp); |
-} |
- |
- |
LInstruction* LChunkBuilder::DoIsObjectAndBranch(HIsObjectAndBranch* instr) { |
ASSERT(instr->value()->representation().IsTagged()); |
LOperand* temp = TempRegister(); |