Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index c66a7a137d5cbe67b9c76166d84997f77c4ec8ef..57a186280b1713b9d9c65d91d4dc6b7bed2bea0a 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -1685,6 +1685,9 @@ void HLoadKeyedFastElement::PrintDataTo(StringStream* stream) { |
stream->Add("["); |
key()->PrintNameTo(stream); |
stream->Add("]"); |
+ if (hole_check_mode_ == PERFORM_HOLE_CHECK) { |
+ stream->Add(" check_hole"); |
+ } |
} |
@@ -1736,7 +1739,7 @@ HValue* HLoadKeyedGeneric::Canonicalize() { |
HInstruction* index = new(block()->zone()) HLoadKeyedFastElement( |
index_cache, |
key_load->key(), |
- HLoadKeyedFastElement::OMIT_HOLE_CHECK); |
+ OMIT_HOLE_CHECK); |
HLoadFieldByIndex* load = new(block()->zone()) HLoadFieldByIndex( |
object(), index); |
map_check->InsertBefore(this); |
@@ -1784,8 +1787,11 @@ void HLoadKeyedSpecializedArrayElement::PrintDataTo( |
stream->Add("pixel"); |
break; |
case FAST_ELEMENTS: |
- case FAST_SMI_ONLY_ELEMENTS: |
+ case FAST_SMI_ELEMENTS: |
case FAST_DOUBLE_ELEMENTS: |
+ case FAST_HOLEY_ELEMENTS: |
+ case FAST_HOLEY_SMI_ELEMENTS: |
+ case FAST_HOLEY_DOUBLE_ELEMENTS: |
case DICTIONARY_ELEMENTS: |
case NON_STRICT_ARGUMENTS_ELEMENTS: |
UNREACHABLE(); |
@@ -1882,9 +1888,12 @@ void HStoreKeyedSpecializedArrayElement::PrintDataTo( |
case EXTERNAL_PIXEL_ELEMENTS: |
stream->Add("pixel"); |
break; |
- case FAST_SMI_ONLY_ELEMENTS: |
+ case FAST_SMI_ELEMENTS: |
case FAST_ELEMENTS: |
case FAST_DOUBLE_ELEMENTS: |
+ case FAST_HOLEY_SMI_ELEMENTS: |
+ case FAST_HOLEY_ELEMENTS: |
+ case FAST_HOLEY_DOUBLE_ELEMENTS: |
case DICTIONARY_ELEMENTS: |
case NON_STRICT_ARGUMENTS_ELEMENTS: |
UNREACHABLE(); |
@@ -1899,7 +1908,13 @@ void HStoreKeyedSpecializedArrayElement::PrintDataTo( |
void HTransitionElementsKind::PrintDataTo(StringStream* stream) { |
object()->PrintNameTo(stream); |
- stream->Add(" %p -> %p", *original_map(), *transitioned_map()); |
+ ElementsKind from_kind = original_map()->elements_kind(); |
+ ElementsKind to_kind = transitioned_map()->elements_kind(); |
+ stream->Add(" %p [%s] -> %p [%s]", |
+ *original_map(), |
+ ElementsAccessor::ForKind(from_kind)->name(), |
+ *transitioned_map(), |
+ ElementsAccessor::ForKind(to_kind)->name()); |
} |