Index: src/type-info.cc |
=================================================================== |
--- src/type-info.cc (revision 8141) |
+++ src/type-info.cc (working copy) |
@@ -224,7 +224,8 @@ |
switch (state) { |
case CompareIC::UNINITIALIZED: |
// Uninitialized means never executed. |
- return TypeInfo::Uninitialized(); |
+ // TODO(fschneider): Introduce a separate value for never-executed ICs. |
+ return unknown; |
case CompareIC::SMIS: |
return TypeInfo::Smi(); |
case CompareIC::HEAP_NUMBERS: |
@@ -285,7 +286,8 @@ |
switch (type) { |
case BinaryOpIC::UNINITIALIZED: |
// Uninitialized means never executed. |
- return TypeInfo::Uninitialized(); |
+ // TODO(fschneider): Introduce a separate value for never-executed ICs |
+ return unknown; |
case BinaryOpIC::SMI: |
switch (result_type) { |
case BinaryOpIC::UNINITIALIZED: |