Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 45b15723dc7ac856ee6c7b19be4c7ea6ec524af9..bcb29e264ed1c098b943e7007d36a57f4b038e2c 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -395,11 +395,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); |
} |