Commit b66c1bbb authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Fix compilation on newer gcc by adding () instead of using prescendence.

Review URL: http://codereview.chromium.org/113447

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1958 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent acfc50ac
......@@ -129,8 +129,8 @@ void HashMap::Remove(void* key, uint32_t hash) {
// 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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment