Author: [email protected]
Date: Fri May 15 00:41:32 2009
New Revision: 1958
Modified:
branches/bleeding_edge/src/hashmap.cc
Log:
Fix compilation on newer gcc by adding () instead of using prescendence.
Review URL: http://codereview.chromium.org/113447
Modified: branches/bleeding_edge/src/hashmap.cc
==============================================================================
--- branches/bleeding_edge/src/hashmap.cc (original)
+++ branches/bleeding_edge/src/hashmap.cc Fri May 15 00:41:32 2009
@@ -129,8 +129,8 @@
// If the entry at position q has its initial position outside the
range
// between p and q it can be moved forward to position p and will
still be
// found. There is now a new candidate entry for clearing.
- if (q > p && (r <= p || r > q) ||
- q < p && (r <= p && r > q)) {
+ if ((q > p && (r <= p || r > q)) ||
+ (q < p && (r <= p && r > q))) {
*p = *q;
p = q;
}
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---