summaryrefslogtreecommitdiff
path: root/py/objtuple.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-10-14 23:56:46 +1100
committerDamien George <damien.p.george@gmail.com>2018-10-15 00:20:49 +1100
commitde71035e02e11bf89b09d2ec6292518d29f0f0e7 (patch)
tree08b4f62890d82d009ba04d064d65f68b0e485eb5 /py/objtuple.c
parent6c6050ca43e5ee9d6d504eaad4cd1957aa6ffd7c (diff)
py/emitnative: Put None/False/True in global native const table.
So these constant objects can be loaded by dereferencing the REG_FUN_TABLE pointer instead of loading immediate values. This reduces the size of generated native code (when such constants are used), and means that pointers to these constants are no longer stored in the assembly code.
Diffstat (limited to 'py/objtuple.c')
0 files changed, 0 insertions, 0 deletions