Commit 949b32c0 authored by Götz Lindenmaier's avatar Götz Lindenmaier
Browse files

spell atomit small

[r4828]
parent 04d25198
......@@ -163,9 +163,7 @@ new_rd_Const_type (dbg_info* db, ir_graph *irg, ir_node *block, ir_mode *mode, t
ir_node *
new_rd_Const (dbg_info* db, ir_graph *irg, ir_node *block, ir_mode *mode, tarval *con)
{
type *tp = firm_unknown_type;
/* removing this somehow causes errors in jack. */
return new_rd_Const_type (db, irg, block, mode, con, tp);
return new_rd_Const_type (db, irg, block, mode, con, firm_unknown_type);
}
ir_node *
......@@ -227,7 +225,7 @@ new_rd_Cast (dbg_info* db, ir_graph *irg, ir_node *block, ir_node *op, type *to_
{
ir_node *res;
assert(is_Atomic_type(to_tp));
assert(is_atomic_type(to_tp));
res = new_ir_node(db, irg, block, op_Cast, get_irn_mode(op), 1, &op);
res->attr.cast.totype = to_tp;
......
......@@ -251,6 +251,7 @@ void
set_irn_n (ir_node *node, int n, ir_node *in) {
assert(node && node->kind == k_ir_node && -1 <= n && n < get_irn_arity(node));
assert(in && in->kind == k_ir_node);
if ((n == -1) && (get_irn_opcode(node) == iro_Filter)) {
/* Change block pred in both views! */
node->in[n + 1] = in;
......@@ -898,7 +899,7 @@ void
set_Const_type (ir_node *node, type *tp) {
assert (node->op == op_Const);
if (tp != firm_unknown_type) {
assert (is_Atomic_type(tp));
assert (is_atomic_type(tp));
assert (get_type_mode(tp) == get_irn_mode(node));
}
node->attr.con.tp = tp;
......
......@@ -640,7 +640,7 @@ int irn_vrfy_irg(ir_node *n, ir_graph *irg)
for (i = 0; i < get_Return_n_ress(n); i++) {
type *res_type = get_method_res_type(mt, i);
if (is_Atomic_type(res_type)) {
if (is_atomic_type(res_type)) {
ASSERT_AND_RET_DBG(
get_irn_mode(get_Return_res(n, i)) == get_type_mode(res_type),
"Mode of result for Return doesn't match mode of result type.", 0,
......@@ -752,7 +752,7 @@ int irn_vrfy_irg(ir_node *n, ir_graph *irg)
for (i = 0; i < get_method_n_params(mt); i++) {
type *t = get_method_param_type(mt, i);
if (is_Atomic_type(t)) {
if (is_atomic_type(t)) {
ASSERT_AND_RET_DBG(
get_irn_mode(get_Call_param(n, i)) == get_type_mode(t),
"Mode of arg for Call doesn't match mode of arg type.", 0,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment