Index: src/compiler/js-inlining-heuristic.cc |
diff --git a/src/compiler/js-inlining-heuristic.cc b/src/compiler/js-inlining-heuristic.cc |
index 2870a8d15b6d6bb08b6e0e4abd3e3a56cf8ec616..05307df7097ef2939bb5d0a4f9b59bc943dcdbec 100644 |
--- a/src/compiler/js-inlining-heuristic.cc |
+++ b/src/compiler/js-inlining-heuristic.cc |
@@ -285,7 +285,7 @@ bool JSInliningHeuristic::CandidateCompare::operator()( |
if (left.calls != right.calls) { |
return left.calls > right.calls; |
} |
- return left.node < right.node; |
+ return left.node->id() > right.node->id(); |
} |
void JSInliningHeuristic::PrintCandidates() { |