Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: src/compiler/js-operator.cc

Issue 1458603012: [Interpreter] Add CreateClosure to BytecodeGraphBuilder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Take IV. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
}

Powered by Google App Engine
This is Rietveld 408576698