Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 813653387953a06b8235681eefff9a9907933875..652ea97e60b906bc4a4014fa056083875ea38e45 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1097,9 +1097,9 @@ void MacroAssembler::IsInstanceJSObjectType(Register map, |
Register scratch, |
Label* fail) { |
ldrb(scratch, FieldMemOperand(map, Map::kInstanceTypeOffset)); |
- cmp(scratch, Operand(FIRST_JS_OBJECT_TYPE)); |
+ cmp(scratch, Operand(FIRST_NONCALLABLE_SPEC_OBJECT_TYPE)); |
b(lt, fail); |
- cmp(scratch, Operand(LAST_JS_OBJECT_TYPE)); |
+ cmp(scratch, Operand(LAST_NONCALLABLE_SPEC_OBJECT_TYPE)); |
b(gt, fail); |
} |