Index: src/types.cc |
diff --git a/src/types.cc b/src/types.cc |
index 928f3bdbe56f3a9a3c8f734f8ca5cd19fbc73887..eed80db8205aabf8f74339871b5292fffbb480bb 100644 |
--- a/src/types.cc |
+++ b/src/types.cc |
@@ -202,6 +202,7 @@ Type::bitset BitsetType::Lub(i::Map* map) { |
case JS_OBJECT_TYPE: |
case JS_GLOBAL_OBJECT_TYPE: |
case JS_GLOBAL_PROXY_TYPE: |
+ case JS_API_OBJECT_TYPE: |
case JS_SPECIAL_API_OBJECT_TYPE: |
if (map->is_undetectable()) return kOtherUndetectable; |
return kOtherObject; |