Switch type of the-hole to be internal.

R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/381063002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22321 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e5991fc3
...@@ -181,10 +181,10 @@ int TypeImpl<Config>::BitsetType::Lub(i::Map* map) { ...@@ -181,10 +181,10 @@ int TypeImpl<Config>::BitsetType::Lub(i::Map* map) {
case ODDBALL_TYPE: { case ODDBALL_TYPE: {
Heap* heap = map->GetHeap(); Heap* heap = map->GetHeap();
if (map == heap->undefined_map()) return kUndefined; 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->null_map()) return kNull;
if (map == heap->boolean_map()) return kBoolean; 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->no_interceptor_result_sentinel_map() ||
map == heap->termination_exception_map() || map == heap->termination_exception_map() ||
map == heap->arguments_marker_map()); map == heap->arguments_marker_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