Reviewers: rossberg,
Description:
Handle the uninitialized oddball in Type::LubBitset().
Please review this at https://codereview.chromium.org/166203002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -0 lines):
M src/types.cc
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);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.