Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index b39bf682c3d9db8a14fb02740c95547735a14182..e43db0565fb09fc01d4b2d20e6290a9a796e57fa 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -192,7 +192,7 @@ bool Object::IsConstructor() const { |
bool Object::IsSpecObject() const { |
return Object::IsHeapObject() |
- && HeapObject::cast(this)->map()->instance_type() >= FIRST_SPEC_OBJECT_TYPE; |
+ && HeapObject::cast(this)->map()->instance_type() >= FIRST_JS_RECEIVER_TYPE; |
} |