Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index ec23e1971b7923d14b11ca23622cb900dbcbcd24..d9590a946e28a21ae10120df6f243c03f901ac97 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -2014,7 +2014,12 @@ void HLoadKeyed::PrintDataTo(StringStream* stream) { |
stream->Add("["); |
key()->PrintNameTo(stream); |
- stream->Add("] "); |
+ if (IsDehoisted()) { |
+ stream->Add(" + %d] ", index_offset()); |
+ } else { |
+ stream->Add("] "); |
+ } |
+ |
dependency()->PrintNameTo(stream); |
if (RequiresHoleCheck()) { |
stream->Add(" check_hole"); |
@@ -2123,7 +2128,12 @@ void HStoreKeyed::PrintDataTo(StringStream* stream) { |
stream->Add("["); |
key()->PrintNameTo(stream); |
- stream->Add("] = "); |
+ if (IsDehoisted()) { |
+ stream->Add(" + %d] = ", index_offset()); |
+ } else { |
+ stream->Add("] = "); |
+ } |
+ |
value()->PrintNameTo(stream); |
} |