Reviewers: Sven Panne,
Message:
Committed patchset #1 manually as r14452 (presubmit successful).
Description:
forgot parends around macro arg
[email protected]
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=14452
Please review this at https://codereview.chromium.org/14334009/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M include/v8.h
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index
e4c4a11ac767196dc41f7d8e52295fe28faa21c9..555fe19bd2707d54427810b110fd988f742fecce
100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -93,8 +93,8 @@
#endif
#if __GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95))
- #define V8_UNLIKELY(condition) __builtin_expect(condition, 0)
- #define V8_LIKELY(condition) __builtin_expect(condition, 1)
+ #define V8_UNLIKELY(condition) __builtin_expect((condition), 0)
+ #define V8_LIKELY(condition) __builtin_expect((condition), 1)
#else
#define V8_UNLIKELY(condition) (condition)
#define V8_LIKELY(condition) (condition)
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.