| Index: include/v8config.h
|
| diff --git a/include/v8config.h b/include/v8config.h
|
| index be02b6e6ea1cabfae0a48188cfc5a49560521e8b..a7ef63d88b7ff3acc57b8119fc047402c5dbfae0 100644
|
| --- a/include/v8config.h
|
| +++ b/include/v8config.h
|
| @@ -330,24 +330,6 @@ declarator __attribute__((deprecated))
|
| #endif
|
|
|
|
|
| -// A macro to mark variables or types as unused, avoiding compiler warnings.
|
| -#if V8_HAS_ATTRIBUTE_UNUSED
|
| -# define V8_UNUSED __attribute__((unused))
|
| -#else
|
| -# define V8_UNUSED
|
| -#endif
|
| -
|
| -
|
| -// Annotate a function indicating the caller must examine the return value.
|
| -// Use like:
|
| -// int foo() V8_WARN_UNUSED_RESULT;
|
| -#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
|
| -# define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
| -#else
|
| -# define V8_WARN_UNUSED_RESULT /* NOT SUPPORTED */
|
| -#endif
|
| -
|
| -
|
| // A macro to provide the compiler with branch prediction information.
|
| #if V8_HAS_BUILTIN_EXPECT
|
| # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0))
|
| @@ -378,33 +360,6 @@ declarator __attribute__((deprecated))
|
| #endif
|
|
|
|
|
| -// Annotate a virtual method indicating it must be overriding a virtual
|
| -// method in the parent class.
|
| -// Use like:
|
| -// virtual void bar() V8_OVERRIDE;
|
| -#if V8_HAS_CXX11_OVERRIDE
|
| -# define V8_OVERRIDE override
|
| -#else
|
| -# define V8_OVERRIDE /* NOT SUPPORTED */
|
| -#endif
|
| -
|
| -
|
| -// Annotate a virtual method indicating that subclasses must not override it,
|
| -// or annotate a class to indicate that it cannot be subclassed.
|
| -// Use like:
|
| -// class B V8_FINAL : public A {};
|
| -// virtual void bar() V8_FINAL;
|
| -#if V8_HAS_CXX11_FINAL
|
| -# define V8_FINAL final
|
| -#elif V8_HAS___FINAL
|
| -# define V8_FINAL __final
|
| -#elif V8_HAS_SEALED
|
| -# define V8_FINAL sealed
|
| -#else
|
| -# define V8_FINAL /* NOT SUPPORTED */
|
| -#endif
|
| -
|
| -
|
| // This macro allows to specify memory alignment for structs, classes, etc.
|
| // Use like:
|
| // class V8_ALIGNED(16) MyClass { ... };
|
|
|