Mercurial > repos > tabletprog
diff modules/il.tp @ 350:a3b06d53bcb9
Make il and x86 modules cope with dict hash instead of dict linear for the program definition
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 10 Apr 2015 01:19:46 -0700 |
parents | a840e9a068a2 |
children | f74ce841fd1e |
line wrap: on
line diff
--- a/modules/il.tp Fri Apr 10 01:19:10 2015 -0700 +++ b/modules/il.tp Fri Apr 10 01:19:46 2015 -0700 @@ -705,7 +705,7 @@ } outprog <- #[] foreach: prepped :name instarr { - outprog append: (labels get: name) + outprog append: (labels get: name else: { false }) foreach: instarr :_ inst { print: "Translating: " . inst . "\n" backend convertIL: inst to: outprog withLabels: labels