Remove references to __TARGET_* defines from Jerry core.

This commit is contained in:
Ruben Ayrapetyan
2015-02-12 20:16:35 +03:00
parent 7e4c16e4e6
commit 3755db04d2
+4 -3
View File
@@ -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.
*/