Enable pretty-printer only on host and debug

This commit is contained in:
Ilmir Usmanov
2014-10-14 15:05:48 +04:00
parent 053cbc769f
commit 64e286f766
5 changed files with 28 additions and 0 deletions
+3
View File
@@ -13,6 +13,8 @@
* limitations under the License.
*/
#include "globals.h"
#ifdef JERRY_ENABLE_PP
#include "pretty-printer.h"
#include "jerry-libc.h"
#include "lexer.h"
@@ -646,3 +648,4 @@ pp_opcode (opcode_counter_t oc, opcode_t opcode, bool is_rewrite)
__printf ("\n");
}
#endif /* JERRY_ENABLE_PP */