summaryrefslogtreecommitdiffhomepage
path: root/ir/be/benode.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-08-06 23:05:40 +0200
committerMatthias Braun <matze@braunis.de>2016-11-08 08:41:57 +0100
commit8c4a22eb2da2630d9d3476502666b8f2bd860f95 (patch)
tree79e392550292a9befe263067326d0dfb283d2efb /ir/be/benode.h
parent107ceb1d8d771c7663e1c3537150c381b08200fb (diff)
Remove be_node_attr_t type
It was used as a base for all be nodes and just contained an exc_pinned attribute. Remove the type and add the exc_pinned attribute to be_asm which is the only one with op_pin_state_exc_pinned.
Diffstat (limited to 'ir/be/benode.h')
-rw-r--r--ir/be/benode.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/ir/be/benode.h b/ir/be/benode.h
index bf8d136..f6d38d1 100644
--- a/ir/be/benode.h
+++ b/ir/be/benode.h
@@ -33,14 +33,10 @@ typedef enum be_opcode {
beo_last = beo_Start
} be_opcode;
-typedef struct be_node_attr_t {
- except_attr exc;
-} be_node_attr_t;
-
typedef struct be_asm_attr_t {
- be_node_attr_t base;
- ident *text;
- void *operands;
+ except_attr exc;
+ ident *text;
+ void *operands;
} be_asm_attr_t;
extern ir_op *op_be_Asm;