From 473c83961abe4e2fb52c8812e46bf19a41fe52cf Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 17 Jun 2020 21:50:25 +0200 Subject: src/ortho: add new_convert. --- src/ortho/gcc/ortho-lang-49.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/ortho/gcc/ortho-lang-49.c') diff --git a/src/ortho/gcc/ortho-lang-49.c b/src/ortho/gcc/ortho-lang-49.c index 1c127fdb1..6be55dabe 100644 --- a/src/ortho/gcc/ortho-lang-49.c +++ b/src/ortho/gcc/ortho-lang-49.c @@ -946,7 +946,7 @@ new_compare_op (enum ON_op_kind kind, tree left, tree right, tree ntype) } tree -new_convert_ov (tree val, tree rtype) +new_convert (tree val, tree rtype) { tree val_type; enum tree_code val_code; @@ -1008,6 +1008,12 @@ new_convert_ov (tree val, tree rtype) return build1 (code, rtype, val); } +tree +new_convert_ov (tree val, tree rtype) +{ + return new_convert (val, rtype); +} + tree new_alloca (tree rtype, tree size) { -- cgit v1.2.3