Reviewers: Søren Gjesse, Description: Fix compilation on newer gcc by adding () instead of using prescendence.
Please review this at http://codereview.chromium.org/113447 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/hashmap.cc Index: src/hashmap.cc =================================================================== --- src/hashmap.cc (revision 1956) +++ src/hashmap.cc (working copy) @@ -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 -~----------~----~----~----~------~----~------~--~---
