summaryrefslogtreecommitdiff
path: root/py/py.cmake
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-02-16 16:53:47 +1100
committerDamien George <damien@micropython.org>2024-02-20 10:56:24 +1100
commit6d403eb6972b7f6137838d89dba1ae3f76846c8b (patch)
tree2d466c2a66a011be1e5896d2939b66e7af7fd236 /py/py.cmake
parent9400229766624e80db6a6f95af287a5542dc1b43 (diff)
py/emitnative: Simplify layout and loading of native function prelude.
Now native functions and native generators have similar behaviour: the first machine-word of their code is an index to get to the prelude. This simplifies the handling of these types of functions, and also reduces the size of the emitted native machine code by no longer requiring special code at the start of the function to load a pointer to the prelude. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/py.cmake')
0 files changed, 0 insertions, 0 deletions