- Jan 07, 2015
-
-
Damien George authored
This patch consolidates all global variables in py/ core into one place, in a global structure. Root pointers are all located together to make GC tracing easier and more efficient.
-
Damien George authored
Addresses issue #1044 (see also #1040). Could do with a better fix.
-
- Jan 06, 2015
-
-
Paul Sokolovsky authored
This is consistent with how BC_JUMP was handled before. We never show jumps destinations relative to jump instrucion itself, only relative to beginning of function. Another useful way to show them as absolute (real memory address), and this change makes result expected and consistent with how BC_JUMP is shown.
-
Damien George authored
-
- Jan 04, 2015
-
-
Paul Sokolovsky authored
-
stijn authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- Jan 03, 2015
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Confirmed that it improves perfomance of simple "for i in range(N): pass" loop by 15% on Core2.
-
- Jan 02, 2015
-
-
Damien George authored
-
David Steinberg authored
-
stijn authored
Remove some duplication in the code for generating qstrdefs.generated.h and py-version.h
-
stijn authored
The compiler treats `if (MICROPY_ERROR_REPORTING == MICROPY_ERROR_REPORTING_TERSE)` as a normal statement and generates assembly for it in degug mode as if MICROPY_ERROR_REPORTING is an actual symbol instead of a preprocessor definition. As such linking fails because mp_arg_error_terse_mismatch is not defined when MICROPY_ERROR_REPORTING_TERSE is detailed or normal.
-
stijn authored
- Use a single file env.props for defining the main directories used when building. env.props resolves the base directory and defines overridable output directories, and is used by all other build files. - Fix the build currently failing, basically because the preprocessing command for generating qstrdefs uses different include directories than the build itself does. (specifically, qstrdefs.h uses #include "py/mpconfig.h" since the fixes for #1022 in 51dfcb4b, so we need to use the base directory as include directory, not the py dir itself). So define a single variable containing the include directories instead and use it where needed.
-
- Jan 01, 2015
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
This reduces dependency on assembler, and allows to consolidate global variables in the future.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Addresses issue #1022.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
Radomir Dopieralski authored
Add a command for converting the WAV files to the amp skin tutorial, so that people can use their own files easily.
-
Damien George authored
We are not word-for-word compatible with CPython exceptions, so we are free to make them short but informative in order to reduce code size. Also, try to make messages the same as existing ones where possible.
-
Damien George authored
Reduces code size when MICROPY_ERROR_REPORTING_TERSE is selected.
-
Paul Sokolovsky authored
-
stijn authored
-
stijn authored
- remove single string initialization style - take list of strings instead - store list in the type for fast lookup
-
stijn authored
-
- Dec 31, 2014
-
-
Damien George authored
Addresses issue #1027.
-