Revision: 19378
Author:   [email protected]
Date:     Fri Feb 14 12:34:28 2014 UTC
Log:      Handle the uninitialized oddball in Type::LubBitset().

[email protected]

Review URL: https://codereview.chromium.org/166203002
http://code.google.com/p/v8/source/detail?r=19378

Modified:
 /branches/bleeding_edge/src/types.cc

=======================================
--- /branches/bleeding_edge/src/types.cc        Fri Jan 24 11:47:47 2014 UTC
+++ /branches/bleeding_edge/src/types.cc        Fri Feb 14 12:34:28 2014 UTC
@@ -164,6 +164,7 @@
     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.

Reply via email to