Index: src/compiler/simplified-operator.cc |
diff --git a/src/compiler/simplified-operator.cc b/src/compiler/simplified-operator.cc |
index 9ec389fe078ef9361d9e68eb802f23b24df5ccf0..98e136682c2c78f38f31ad15f99cbfd77999784b 100644 |
--- a/src/compiler/simplified-operator.cc |
+++ b/src/compiler/simplified-operator.cc |
@@ -92,6 +92,7 @@ bool operator==(FieldAccess const& lhs, FieldAccess const& rhs) { |
// really only relevant for eliminating loads and they don't care about the |
// write barrier mode. |
return lhs.base_is_tagged == rhs.base_is_tagged && lhs.offset == rhs.offset && |
+ lhs.map.address() == rhs.map.address() && |
lhs.machine_type == rhs.machine_type; |
} |
@@ -118,6 +119,10 @@ std::ostream& operator<<(std::ostream& os, FieldAccess const& access) { |
name->Print(os); |
os << ", "; |
} |
+ Handle<Map> map; |
+ if (access.map.ToHandle(&map)) { |
+ os << Brief(*map) << ", "; |
+ } |
#endif |
access.type->PrintTo(os); |
os << ", " << access.machine_type << ", " << access.write_barrier_kind << "]"; |