Index: src/compiler/simplified-operator.cc |
diff --git a/src/compiler/simplified-operator.cc b/src/compiler/simplified-operator.cc |
index 290f962974fe559575189e806f23619baaf06da5..1240e9707e91740b3c41007989604fdc5bc23e1d 100644 |
--- a/src/compiler/simplified-operator.cc |
+++ b/src/compiler/simplified-operator.cc |
@@ -124,6 +124,15 @@ std::ostream& operator<<(std::ostream& os, FieldAccess const& access) { |
return os; |
} |
+template <> |
+void Operator1<FieldAccess>::PrintParameter(std::ostream& os, |
+ PrintVerbosity verbose) const { |
+ if (verbose == PrintVerbosity::kVerbose) { |
+ os << parameter(); |
+ } else { |
+ os << "[+" << parameter().offset << "]"; |
+ } |
+} |
bool operator==(ElementAccess const& lhs, ElementAccess const& rhs) { |
// On purpose we don't include the write barrier kind here, as this method is |