Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index b832607eeee8963eb0fdbd7165b2f1cc8bbeac7a..3225ce35f2793c2e33bbb0f35061935e92cfc472 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -2003,21 +2003,6 @@ void MacroAssembler::CompareObjectType(Register object, |
} |
-void MacroAssembler::CheckObjectTypeRange(Register object, |
- Register map, |
- InstanceType min_type, |
- InstanceType max_type, |
- Label* false_label) { |
- STATIC_ASSERT(Map::kInstanceTypeOffset < 4096); |
- STATIC_ASSERT(LAST_TYPE < 256); |
- ldr(map, FieldMemOperand(object, HeapObject::kMapOffset)); |
- ldrb(ip, FieldMemOperand(map, Map::kInstanceTypeOffset)); |
- sub(ip, ip, Operand(min_type)); |
- cmp(ip, Operand(max_type - min_type)); |
- b(hi, false_label); |
-} |
- |
- |
void MacroAssembler::CompareInstanceType(Register map, |
Register type_reg, |
InstanceType type) { |