Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 5584e39c5f1e93245d4f50e7c2c53be5d593d261..3c6187d9d41aaccaa95d5788f086b954caf66121 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -1947,25 +1947,6 @@ void LCodeGen::DoDebugBreak(LDebugBreak* instr) { |
} |
-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_)); |
- __ CompareRoot(FieldOperand(reg, HeapObject::kMapOffset), |
- Heap::kHeapNumberMapRootIndex); |
- EmitBranch(instr, equal); |
- } |
-} |
- |
- |
void LCodeGen::DoBranch(LBranch* instr) { |
Representation r = instr->hydrogen()->value()->representation(); |
if (r.IsInteger32()) { |