Index: src/compiler/js-operator.cc |
diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc |
index 7913491b46b6688b54da7459e30db3d8e7724729..f4dc27dace716f987bd05e0b79ca6e496b97ada9 100644 |
--- a/src/compiler/js-operator.cc |
+++ b/src/compiler/js-operator.cc |
@@ -384,7 +384,7 @@ const CreateArrayParameters& CreateArrayParametersOf(const Operator* op) { |
bool operator==(CreateClosureParameters const& lhs, |
CreateClosureParameters const& rhs) { |
return lhs.pretenure() == rhs.pretenure() && |
- lhs.shared_info().location() == rhs.shared_info().location(); |
+ lhs.shared_info().is_identical_to(rhs.shared_info()); |
Michael Starzinger
2015/11/20 17:11:43
Please don't! The equality operator needs to be ba
oth
2015/11/21 14:19:47
Okay. I haved fixed the matcher here as the proble
|
} |