Remove references to __TARGET_* defines from Jerry core.
This commit is contained in:
+4
-3
@@ -103,7 +103,7 @@ extern void __noreturn jerry_unimplemented (const char *comment, const char *fil
|
||||
*/
|
||||
template<typename... values> extern void jerry_ref_unused_variables (const values & ... unused);
|
||||
|
||||
#if !defined (JERRY_NDEBUG) && defined (__TARGET_HOST)
|
||||
#ifndef JERRY_NDEBUG
|
||||
#define JERRY_UNREACHABLE() \
|
||||
do \
|
||||
{ \
|
||||
@@ -125,7 +125,7 @@ template<typename... values> extern void jerry_ref_unused_variables (const value
|
||||
jerry_ref_unused_variables (0, __VA_ARGS__); \
|
||||
} \
|
||||
} while (0)
|
||||
#else /* !JERRY_NDEBUG && __TARGET_HOST */
|
||||
#else /* !JERRY_NDEBUG */
|
||||
#define JERRY_UNREACHABLE() \
|
||||
do \
|
||||
{ \
|
||||
@@ -147,7 +147,8 @@ template<typename... values> extern void jerry_ref_unused_variables (const value
|
||||
jerry_ref_unused_variables (0, __VA_ARGS__); \
|
||||
} \
|
||||
} while (0)
|
||||
#endif /* JERRY_NDEBUG || !TARGET_HOST */
|
||||
#endif /* JERRY_NDEBUG */
|
||||
|
||||
/**
|
||||
* Conditions' likeliness, unlikeliness.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user