Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index fa84882718f43bee4472ac6c977c4e8054378d01..821e9ad4d5cac5d39ce8cd5caa8f3f116c14c1bb 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -373,20 +373,27 @@ void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { |
} |
-void LStoreKeyed::PrintDataTo(StringStream* stream) { |
+void LLoadKeyed::PrintDataTo(StringStream* stream) { |
elements()->PrintTo(stream); |
stream->Add("["); |
key()->PrintTo(stream); |
- stream->Add("] <- "); |
- value()->PrintTo(stream); |
+ if (hydrogen()->IsDehoisted()) { |
+ stream->Add(" + %d]", additional_index()); |
+ } else { |
+ stream->Add("]"); |
+ } |
} |
-void LStoreKeyedGeneric::PrintDataTo(StringStream* stream) { |
- object()->PrintTo(stream); |
+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); |
} |