Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index d119111138a2f40eb7036f7321be2102be003429..06628ffd81c334a85e992e72308fef4106825918 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -2338,25 +2338,6 @@ void LCodeGen::EmitFalseBranch(InstrType instr, Condition cc) { |
} |
-void LCodeGen::DoIsNumberAndBranch(LIsNumberAndBranch* instr) { |
- Representation r = instr->hydrogen()->value()->representation(); |
- if (r.IsSmiOrInteger32() || r.IsDouble()) { |
- EmitBranch(instr, no_condition); |
- } else { |
- ASSERT(r.IsTagged()); |
- Register reg = ToRegister(instr->value()); |
- HType type = instr->hydrogen()->value()->type(); |
- if (type.IsTaggedNumber()) { |
- EmitBranch(instr, no_condition); |
- } |
- __ JumpIfSmi(reg, instr->TrueLabel(chunk_)); |
- __ cmp(FieldOperand(reg, HeapObject::kMapOffset), |
- factory()->heap_number_map()); |
- EmitBranch(instr, equal); |
- } |
-} |
- |
- |
void LCodeGen::DoBranch(LBranch* instr) { |
Representation r = instr->hydrogen()->value()->representation(); |
if (r.IsSmiOrInteger32()) { |