Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 3518f137a638ce6d7be42fce23f956999f118ccd..a50fe5a0ad126c4bfb2acf64c73010163f6e4767 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -2067,25 +2067,6 @@ void LCodeGen::DoDebugBreak(LDebugBreak* instr) { |
} |
-void LCodeGen::DoIsNumberAndBranch(LIsNumberAndBranch* instr) { |
- Representation r = instr->hydrogen()->value()->representation(); |
- if (r.IsSmiOrInteger32() || r.IsDouble()) { |
- EmitBranch(instr, al, zero_reg, Operand(zero_reg)); |
- } else { |
- ASSERT(r.IsTagged()); |
- Register reg = ToRegister(instr->value()); |
- HType type = instr->hydrogen()->value()->type(); |
- if (type.IsTaggedNumber()) { |
- EmitBranch(instr, al, zero_reg, Operand(zero_reg)); |
- } |
- __ JumpIfSmi(reg, instr->TrueLabel(chunk_)); |
- __ lw(scratch0(), FieldMemOperand(reg, HeapObject::kMapOffset)); |
- __ LoadRoot(at, Heap::kHeapNumberMapRootIndex); |
- EmitBranch(instr, eq, scratch0(), Operand(at)); |
- } |
-} |
- |
- |
void LCodeGen::DoBranch(LBranch* instr) { |
Representation r = instr->hydrogen()->value()->representation(); |
if (r.IsInteger32() || r.IsSmi()) { |