Commit 38410702 authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

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
parent 94dc1075
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment