Index: src/types.cc |
diff --git a/src/types.cc b/src/types.cc |
index 7867899d71de99fe0e9d41df81f4bc234b21e855..3840e6fd223f72c0210b49a386e3ca4462ef4a0b 100644 |
--- a/src/types.cc |
+++ b/src/types.cc |
@@ -164,6 +164,7 @@ int TypeImpl<Config>::LubBitset(i::Object* value) { |
if (value->IsNull()) return kNull; |
if (value->IsBoolean()) return kBoolean; |
if (value->IsTheHole()) return kAny; // TODO(rossberg): kNone? |
+ if (value->IsUninitialized()) return kNone; |
UNREACHABLE(); |
} |
return LubBitset(map); |