diff options
author | Colin Hogben <colin@infinnovation.co.uk> | 2016-04-18 23:09:25 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-04-19 09:22:40 +0100 |
commit | 8aa3cbf15312987410e2358c4ee93d8bb8cdf715 (patch) | |
tree | 96d0bc7d46a172c7db1596f01a0ff050c1594778 /bare-arm/main.c | |
parent | 97f88eebb6e94ec2f6b91a49898e0fb08eb150ea (diff) | |
download | micropython-8aa3cbf15312987410e2358c4ee93d8bb8cdf715.tar.gz micropython-8aa3cbf15312987410e2358c4ee93d8bb8cdf715.zip |
lib/utils/pyexec: Condition-out GC calls from pyexec.
A port which uses lib/utils/pyexec.c but which does not enable garbage
collection should not need to implement the gc_collect function.
This patch also moves the gc_collect call to after printing the qstr
info. Since qstrs cannot be collected it should not make any difference
to the printed statistics.
Diffstat (limited to 'bare-arm/main.c')
-rw-r--r-- | bare-arm/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bare-arm/main.c b/bare-arm/main.c index 7efcf9ab33..e6ce063989 100644 --- a/bare-arm/main.c +++ b/bare-arm/main.c @@ -34,9 +34,6 @@ int main(int argc, char **argv) { return 0; } -void gc_collect(void) { -} - mp_lexer_t *mp_lexer_new_from_file(const char *filename) { return NULL; } |