summaryrefslogtreecommitdiffstatshomepage
path: root/py/emitcpy.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-04 13:55:24 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-04 13:55:24 +0000
commite67ed5d285bb2ae7b83eb8be3ee488ab08fa4db1 (patch)
treeb11250057a7957da577daab994e91ef0a6718514 /py/emitcpy.c
parent32f88410a153967af3f013d02a1a662aec19ec04 (diff)
downloadmicropython-e67ed5d285bb2ae7b83eb8be3ee488ab08fa4db1.tar.gz
micropython-e67ed5d285bb2ae7b83eb8be3ee488ab08fa4db1.zip
Improve configurability for native x64/thumb emitter.
With MICROPY_EMIT_X64 and MICROPY_EMIT_THUMB disabled, the respective emitters and assemblers will not be included in the code. This can significantly reduce binary size for unix version.
Diffstat (limited to 'py/emitcpy.c')
-rw-r--r--py/emitcpy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/emitcpy.c b/py/emitcpy.c
index 652617cc88..7b2d50fb7e 100644
--- a/py/emitcpy.c
+++ b/py/emitcpy.c
@@ -13,6 +13,7 @@
#include "runtime0.h"
#include "emit.h"
+// wrapper around everything in this file
#if MICROPY_EMIT_CPYTHON
struct _emit_t {