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()); |