Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 5cd691461f6308949bb47ef62e66fc5f4edcd355..8cf2153fec73652a95f8c900e48164a519b75771 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -373,11 +373,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); |
} |