projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clarify remove_bads doc
[libfirm]
/
ir
/
tr
/
tpop.c
diff --git
a/ir/tr/tpop.c
b/ir/tr/tpop.c
index
d7a92d3
..
7decaa1
100644
(file)
--- a/
ir/tr/tpop.c
+++ b/
ir/tr/tpop.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-20
08
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-20
11
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-52,7
+52,7
@@
new_tpop(tp_opcode code, ident *name, unsigned flags, size_t attr_size, const tp
res->attr_size = attr_size;
if (ops)
res->attr_size = attr_size;
if (ops)
-
memcpy(&res->ops, ops, sizeof(res->ops))
;
+
res->ops = *ops
;
else
memset(&res->ops, 0, sizeof(res->ops));
else
memset(&res->ops, 0, sizeof(res->ops));
@@
-159,7
+159,7
@@
static const tp_op_ops
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
-
NULL
,
+
set_default_size
,
NULL,
NULL,
NULL
NULL,
NULL,
NULL
@@
-211,7
+211,7
@@
tp_opcode (get_tpop_code)(const tp_op *op)
}
/* returns the attribute size of the operator. */
}
/* returns the attribute size of the operator. */
-
in
t (get_tpop_attr_size)(const tp_op *op)
+
size_
t (get_tpop_attr_size)(const tp_op *op)
{
return _get_tpop_attr_size(op);
}
{
return _get_tpop_attr_size(op);
}