projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
handle Block_entity like other node attributes
[libfirm]
/
scripts
/
ir_spec.py
diff --git
a/scripts/ir_spec.py
b/scripts/ir_spec.py
index
3e97a83
..
bfe1a74
100755
(executable)
--- a/
scripts/ir_spec.py
+++ b/
scripts/ir_spec.py
@@
-175,6
+175,14
@@
class Block(Op):
arity = "variable"
flags = [ "labeled" ]
attr_struct = "block_attr"
+ attrs = [
+ dict(
+ name = "entity",
+ type = "ir_entity*",
+ comment = "entity representing this block",
+ init = "NULL",
+ ),
+ ]
customSerializer = True
init = '''