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

Unified Diff: src/compiler/gap-resolver.cc

Issue 430123002: Fix android debug build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 months 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
« no previous file with comments | « no previous file | src/compiler/instruction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/gap-resolver.cc
diff --git a/src/compiler/gap-resolver.cc b/src/compiler/gap-resolver.cc
index bc151c2c305efbfc5fb6a41031c350c8a240f1ea..a8dbbc0f79956e29b02eeeb274066e375603e55f 100644
--- a/src/compiler/gap-resolver.cc
+++ b/src/compiler/gap-resolver.cc
@@ -17,7 +17,8 @@ typedef ZoneList<MoveOperands>::iterator op_iterator;
#ifdef ENABLE_SLOW_ASSERTS
// TODO(svenpanne) Brush up InstructionOperand with comparison?
struct InstructionOperandComparator {
- bool operator()(const InstructionOperand* x, const InstructionOperand* y) {
+ bool operator()(const InstructionOperand* x,
+ const InstructionOperand* y) const {
return (x->kind() < y->kind()) ||
(x->kind() == y->kind() && x->index() < y->index());
}
« no previous file with comments | « no previous file | src/compiler/instruction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698