Enable pretty-printer only on host and debug
This commit is contained in:
@@ -177,4 +177,11 @@ extern void __noreturn jerry_exit (jerry_status_t code);
|
||||
#define JERRY_MIN(v1, v2) ((v1 < v2) ? v1 : v2)
|
||||
#define JERRY_MAX(v1, v2) ((v1 < v2) ? v2 : v1)
|
||||
|
||||
/**
|
||||
* Enable --show-opcodes key.
|
||||
*/
|
||||
#if defined (__TARGET_HOST_x64) && !defined (JERRY_NDEBUG)
|
||||
#define JERRY_ENABLE_PP
|
||||
#endif
|
||||
|
||||
#endif /* !JERRY_GLOBALS_H */
|
||||
|
||||
Reference in New Issue
Block a user