Revision: 22321
Author: [email protected]
Date: Thu Jul 10 12:37:08 2014 UTC
Log: Switch type of the-hole to be internal.
[email protected]
Review URL: https://codereview.chromium.org/381063002
http://code.google.com/p/v8/source/detail?r=22321
Modified:
/branches/bleeding_edge/src/types.cc
=======================================
--- /branches/bleeding_edge/src/types.cc Thu Jul 3 07:18:30 2014 UTC
+++ /branches/bleeding_edge/src/types.cc Thu Jul 10 12:37:08 2014 UTC
@@ -181,10 +181,10 @@
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.