diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-06-29 14:41:09 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-07-03 15:31:04 -0700 |
commit | 48edb13044459f1dbedd69aef24e8abed30b1db5 (patch) | |
tree | 97b26420e48d6cafef8e4f49c6beff62f3899f42 /emlink.py | |
parent | 8544ce1cc79e93b5110760fae046a8024249e53a (diff) |
emit proper filler functions in merged function tables
Diffstat (limited to 'emlink.py')
-rw-r--r-- | emlink.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -280,7 +280,8 @@ class AsmModule(): ret = main + side size = 2 while size < len(ret): size *= 2 - ret = ret + ['0']*(size - len(ret)) + aborter = ret[1] # we can assume odd indexes have an aborting function with the right signature + ret = ret + [aborter]*(size - len(ret)) assert len(ret) == size f_sizes[table] = size return '[' + ','.join(ret) + ']' |