micropython/tools
Damien George dd11af209d py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.
This patch allows the following code to run without allocating on the heap:

    super().foo(...)

Before this patch such a call would allocate a super object on the heap and
then load the foo method and call it right away.  The super object is only
needed to perform the lookup of the method and not needed after that.  This
patch makes an optimisation to allocate the super object on the C stack and
discard it right after use.

Changes in code size due to this patch are:

   bare-arm: +128
    minimal: +232
   unix x64: +416
unix nanbox: +364
     stmhal: +184
    esp8266: +340
     cc3200: +128
2017-04-22 23:39:20 +10:00
..
tinytest tools: check-in errordeveloper/tinytest@eb2dbc858f 2014-05-08 01:41:21 +03:00
.gitattributes micropython-upip: Mark as binary file and re-commit. 2015-06-06 23:09:23 +03:00
.gitignore tools: check-in errordeveloper/tinytest@eb2dbc858f 2014-05-08 01:41:21 +03:00
bootstrap_upip.sh bootstrap_upip.sh: Allow to install into a path given by argument. 2015-05-29 22:35:45 +03:00
build-stm-latest.sh tools: Add STM32F4DISC and ESPRUINO_PICO to stmhal build script. 2015-04-21 13:16:41 +00:00
cc1 tools: Add C middle-processor to make builtin tables proper hash tables. 2015-12-31 00:24:33 +00:00
check_code_size.sh tools/check_code_size.sh: Code size validation script for CI. 2016-10-25 11:43:55 +03:00
codestats.sh tools: Add codestats.sh to compute code statistics such as size, speed. 2015-06-03 15:38:43 +00:00
dfu.py Change dfu.py to be Python 2/3 compatible 2014-01-03 08:51:02 +02:00
file2h.py tools: Fix up pybcdc.inf generation: new lines and hex digits. 2014-04-16 11:45:52 +01:00
gen-changelog.sh Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc. 2015-10-12 00:06:25 +01:00
gen-cpydiff.py tools/gen-cpydiff.py: configurable CPython and micropython executables 2017-02-27 15:39:55 +11:00
gendoc.py tools: Make gendoc.py able to output RST format. 2014-10-31 01:36:11 +00:00
insert-usb-ids.py stmhal: Fix USB CDC-only mode under Windows. 2015-10-09 00:18:01 +01:00
make-frozen.py tools/make-frozen: Update for latest changes in frozen modules support. 2016-05-21 21:39:27 +03:00
mpy-tool.py py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
pyboard.py tools/pyboard: Provide more details when expected reply not received. 2017-04-07 01:04:47 +03:00
pydfu.py tools: Fix pydfu.py to work with old and new versions of PyUSB 2015-07-06 09:56:12 -07:00
tinytest-codegen.py tools/tinytest-codegen: Update for recent test renaming ("intbig" suffix). 2017-03-06 22:40:04 +01:00
upip.py tools/upip: Update to 1.1.5. Better and more user-friendly error handling. 2017-02-10 20:18:05 +03:00
upip_utarfile.py tools, unix: Replace upip tarball with just source files. 2016-11-07 18:39:41 +03:00