Revision: 14452
Author:   [email protected]
Date:     Fri Apr 26 03:52:14 2013
Log:      forgot parends around macro arg

[email protected]
BUG=

Review URL: https://codereview.chromium.org/14334009
http://code.google.com/p/v8/source/detail?r=14452

Modified:
 /branches/bleeding_edge/include/v8.h

=======================================
--- /branches/bleeding_edge/include/v8.h        Fri Apr 26 00:28:08 2013
+++ /branches/bleeding_edge/include/v8.h        Fri Apr 26 03:52:14 2013
@@ -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.


Reply via email to