Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 50bdd7c7d9c40277b27df2720f207be0842ee105..3feab4af02893c61a4764feee6c20ab6bd389324 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -1803,7 +1803,8 @@ void HLoadKeyedFastElement::PrintDataTo(StringStream* stream) { |
object()->PrintNameTo(stream); |
stream->Add("["); |
key()->PrintNameTo(stream); |
- stream->Add("]"); |
+ stream->Add("] "); |
+ dependency()->PrintNameTo(stream); |
if (RequiresHoleCheck()) { |
stream->Add(" check_hole"); |
} |
@@ -1828,7 +1829,8 @@ void HLoadKeyedFastDoubleElement::PrintDataTo(StringStream* stream) { |
elements()->PrintNameTo(stream); |
stream->Add("["); |
key()->PrintNameTo(stream); |
- stream->Add("]"); |
+ stream->Add("] "); |
+ dependency()->PrintNameTo(stream); |
} |
@@ -1857,6 +1859,7 @@ HValue* HLoadKeyedGeneric::Canonicalize() { |
new(block()->zone()) HCheckMapValue(object(), names_cache->map()); |
HInstruction* index = new(block()->zone()) HLoadKeyedFastElement( |
index_cache, |
+ key_load->key(), |
key_load->key()); |
map_check->InsertBefore(this); |
index->InsertBefore(this); |
@@ -1917,7 +1920,8 @@ void HLoadKeyedSpecializedArrayElement::PrintDataTo( |
} |
stream->Add("["); |
key()->PrintNameTo(stream); |
- stream->Add("]"); |
+ stream->Add("] "); |
+ dependency()->PrintNameTo(stream); |
} |