Reviewers: rossberg,

Description:
Switch type of the-hole to be internal.

[email protected]

Please review this at https://codereview.chromium.org/381063002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -2 lines):
  M src/types.cc


Index: src/types.cc
diff --git a/src/types.cc b/src/types.cc
index 024d9f69762d0ebc5ff87cc8142b8e2ada2f1cf5..3cd349b89b9cfa00693df070c19d623ea2f324d5 100644
--- a/src/types.cc
+++ b/src/types.cc
@@ -181,10 +181,10 @@ int TypeImpl<Config>::BitsetType::Lub(i::Map* map) {
     case ODDBALL_TYPE: {
       Heap* heap = map->GetHeap();
       if (map == heap->undefined_map()) return kUndefined;
- if (map == heap->the_hole_map()) return kAny; // TODO(rossberg): kNone?
       if (map == heap->null_map()) return kNull;
       if (map == heap->boolean_map()) return kBoolean;
-      ASSERT(map == heap->uninitialized_map() ||
+      ASSERT(map == heap->the_hole_map() ||
+             map == heap->uninitialized_map() ||
              map == heap->no_interceptor_result_sentinel_map() ||
              map == heap->termination_exception_map() ||
              map == heap->arguments_marker_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/d/optout.

Reply via email to