Enable pretty-printer only on host and debug
This commit is contained in:
@@ -16,11 +16,14 @@
|
||||
#ifndef PRETTY_PRINTER
|
||||
#define PRETTY_PRINTER
|
||||
|
||||
#include "globals.h"
|
||||
#ifdef JERRY_ENABLE_PP
|
||||
#include "interpreter.h"
|
||||
#include "lp-string.h"
|
||||
|
||||
void pp_opcode (opcode_counter_t, opcode_t, bool);
|
||||
void pp_strings (const lp_string *, uint8_t);
|
||||
void pp_nums (const ecma_number_t *, uint8_t, uint8_t);
|
||||
#endif // JERRY_ENABLE_PP
|
||||
|
||||
#endif // PRETTY_PRINTER
|
||||
|
||||
Reference in New Issue
Block a user