Commit 47154aa8 authored by Dan Carney's avatar Dan Carney

add V8_DEPRECATE_SOON macros to make it easier to identify calls which need deprecation

BUG=
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/990873002

Cr-Commit-Position: refs/heads/master@{#27061}
parent 02e31851
This diff is collapsed.
......@@ -339,6 +339,10 @@ declarator __attribute__((deprecated))
#endif
// a macro to make it easier to see what will be deprecated.
#define V8_DEPRECATE_SOON(message, declarator) declarator
// A macro to provide the compiler with branch prediction information.
#if V8_HAS_BUILTIN_EXPECT
# define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0))
......
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