Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index bd585946f11d546bed602bd8d338b4ca1f0f1c5c..244056ff28fdeca4cd5184726555a76e04fc048b 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -2930,8 +2930,8 @@ void MacroAssembler::IsInstanceJSObjectType(Register map, |
Register scratch, |
Label* fail) { |
lbu(scratch, FieldMemOperand(map, Map::kInstanceTypeOffset)); |
- Branch(fail, lt, scratch, Operand(FIRST_JS_OBJECT_TYPE)); |
- Branch(fail, gt, scratch, Operand(LAST_JS_OBJECT_TYPE)); |
+ Branch(fail, lt, scratch, Operand(FIRST_NONCALLABLE_SPEC_OBJECT_TYPE)); |
+ Branch(fail, gt, scratch, Operand(LAST_NONCALLABLE_SPEC_OBJECT_TYPE)); |
} |