Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index a07b8d944daf187a2d745a847ee6df49268df361..f2bdd8016990ef8ffc20b963a50f290186cec42b 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -408,11 +408,27 @@ void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { |
} |
+void LLoadKeyed::PrintDataTo(StringStream* stream) { |
+ elements()->PrintTo(stream); |
+ stream->Add("["); |
+ key()->PrintTo(stream); |
+ if (hydrogen()->IsDehoisted()) { |
+ stream->Add(" + %d]", additional_index()); |
+ } else { |
+ stream->Add("]"); |
+ } |
+} |
+ |
+ |
void LStoreKeyed::PrintDataTo(StringStream* stream) { |
elements()->PrintTo(stream); |
stream->Add("["); |
key()->PrintTo(stream); |
- stream->Add("] <- "); |
+ if (hydrogen()->IsDehoisted()) { |
+ stream->Add(" + %d] <-", additional_index()); |
+ } else { |
+ stream->Add("] <- "); |
+ } |
value()->PrintTo(stream); |
} |