Handle the uninitialized oddball in Type::LubBitset().
R=rossberg@chromium.org Review URL: https://codereview.chromium.org/166203002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19378 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
94dc107504
commit
3841070294
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user