summaryrefslogtreecommitdiff
path: root/gcc/gimple-builder.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple-builder.c')
-rw-r--r--gcc/gimple-builder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gimple-builder.c b/gcc/gimple-builder.c
index 52176738afb..8a0a9c2dab6 100644
--- a/gcc/gimple-builder.c
+++ b/gcc/gimple-builder.c
@@ -66,7 +66,7 @@ build_assign (enum tree_code code, tree op1, int val, tree lhs)
tree op2 = build_int_cst (TREE_TYPE (op1), val);
if (lhs == NULL_TREE)
lhs = make_ssa_name (get_expr_type (code, op1));
- return gimple_build_assign_with_ops (code, lhs, op1, op2);
+ return gimple_build_assign (lhs, code, op1, op2);
}
gassign *
@@ -89,7 +89,7 @@ build_assign (enum tree_code code, tree op1, tree op2, tree lhs)
{
if (lhs == NULL_TREE)
lhs = make_ssa_name (get_expr_type (code, op1));
- return gimple_build_assign_with_ops (code, lhs, op1, op2);
+ return gimple_build_assign (lhs, code, op1, op2);
}
gassign *
@@ -120,7 +120,7 @@ build_type_cast (tree to_type, tree op, tree lhs)
{
if (lhs == NULL_TREE)
lhs = make_ssa_name (to_type);
- return gimple_build_assign_with_ops (NOP_EXPR, lhs, op);
+ return gimple_build_assign (lhs, NOP_EXPR, op);
}
gassign *