diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-27 20:54:22 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-27 21:02:04 +0300 |
commit | 8a96ebea75158987c1136f1a618d98cf387445fd (patch) | |
tree | d6ec8848a10d6f32c268c7814cbb4fa6aac7843d /unix | |
parent | 64c58403efc8f7c4d95f8bd18c3afc86fa792fcc (diff) | |
download | micropython-8a96ebea75158987c1136f1a618d98cf387445fd.tar.gz micropython-8a96ebea75158987c1136f1a618d98cf387445fd.zip |
py: Move stack_ctrl_init() to mp_init().
As stack checking is enabled by default, ports which don't call
stack_ctrl_init() are broken now (report RuntimeError on startup). Save
them trouble and just init stack control framework in interpreter init.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/unix/main.c b/unix/main.c index a08661339c..23615aa988 100644 --- a/unix/main.c +++ b/unix/main.c @@ -265,7 +265,6 @@ void pre_process_options(int argc, char **argv) { #endif int main(int argc, char **argv) { - stack_ctrl_init(); stack_set_limit(32768); pre_process_options(argc, argv); |