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

Unified Diff: src/serialize.h

Issue 2095019: Add parentheses to clarify operator precedence. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/serialize.h
===================================================================
--- src/serialize.h (revision 4688)
+++ src/serialize.h (working copy)
@@ -147,13 +147,13 @@
static const int k64 = (sizeof(uintptr_t) - 4) / 4;
#define COMMON_REFERENCE_PATTERNS(f) \
- f(kNumberOfSpaces, 2, 11 - k64) \
+ f(kNumberOfSpaces, 2, (11 - k64)) \
f(kNumberOfSpaces + 1, 2, 0) \
- f(kNumberOfSpaces + 2, 2, 142 - 16 * k64) \
- f(kNumberOfSpaces + 3, 2, 74 - 15 * k64) \
+ f(kNumberOfSpaces + 2, 2, (142 - 16 * k64)) \
+ f(kNumberOfSpaces + 3, 2, (74 - 15 * k64)) \
f(kNumberOfSpaces + 4, 2, 5) \
f(kNumberOfSpaces + 5, 1, 135) \
- f(kNumberOfSpaces + 6, 2, 228 - 39 * k64)
+ f(kNumberOfSpaces + 6, 2, (228 - 39 * k64))
#define COMMON_RAW_LENGTHS(f) \
f(1, 1) \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698