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 c5c9938b81a..52176738afb 100644
--- a/gcc/gimple-builder.c
+++ b/gcc/gimple-builder.c
@@ -65,7 +65,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), NULL);
+ lhs = make_ssa_name (get_expr_type (code, op1));
return gimple_build_assign_with_ops (code, lhs, op1, op2);
}
@@ -88,7 +88,7 @@ gassign *
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), NULL);
+ lhs = make_ssa_name (get_expr_type (code, op1));
return gimple_build_assign_with_ops (code, lhs, op1, op2);
}
@@ -119,7 +119,7 @@ gassign *
build_type_cast (tree to_type, tree op, tree lhs)
{
if (lhs == NULL_TREE)
- lhs = make_ssa_name (to_type, NULL);
+ lhs = make_ssa_name (to_type);
return gimple_build_assign_with_ops (NOP_EXPR, lhs, op);
}