projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename tarval to ir_tarval
[libfirm]
/
scripts
/
gen_ir_io.py
diff --git
a/scripts/gen_ir_io.py
b/scripts/gen_ir_io.py
index
cec272f
..
2deead7
100755
(executable)
--- a/
scripts/gen_ir_io.py
+++ b/
scripts/gen_ir_io.py
@@
-45,8
+45,8
@@
env.filters['block'] = format_block
env.filters['arguments'] = format_arguments
def get_io_type(type, attrname, node):
env.filters['arguments'] = format_arguments
def get_io_type(type, attrname, node):
- if type == "tarval*":
- importcmd = "tarval *%s = read_tv(env);" % attrname
+ if type == "
ir_
tarval*":
+ importcmd = "
ir_
tarval *%s = read_tv(env);" % attrname
exportcmd = "write_tarval(env, %(val)s);";
elif type == "ir_mode*":
importcmd = "ir_mode *%s = read_mode(env);" % attrname
exportcmd = "write_tarval(env, %(val)s);";
elif type == "ir_mode*":
importcmd = "ir_mode *%s = read_mode(env);" % attrname
@@
-231,7
+231,7
@@
def main(argv):
# these nodes don't work correctly yet for some reasons...
niynodes = [ "ASM" ]
# these have custom im-/export code
# these nodes don't work correctly yet for some reasons...
niynodes = [ "ASM" ]
# these have custom im-/export code
- customcode = [ "Start", "End", "Anchor", "SymConst", "Block" ]
+ customcode = [ "Start", "End", "Anchor", "SymConst", "Block"
, "Deleted"
]
real_nodes = []
for node in ir_spec.nodes:
real_nodes = []
for node in ir_spec.nodes: