diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-20 13:38:17 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-20 13:38:17 +0000 |
commit | 705abd1a2ac59d9b6a7459f1decbffdbdc3dbe68 (patch) | |
tree | c5b873d8a7f167277098cb84b58d4ceac5673d67 /gcc/objc | |
parent | fe5ad9266cba2cbb611a831aaac450d3f6decd0c (diff) | |
download | gcc-705abd1a2ac59d9b6a7459f1decbffdbdc3dbe68.tar.gz |
Remove remaining wide_int (x)s.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205112 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/objc-act.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 7e9f8577a0e..2c152c7e312 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -4885,7 +4885,8 @@ objc_decl_method_attributes (tree *node, tree attributes, int flags) number = TREE_VALUE (second_argument); if (number && TREE_CODE (number) == INTEGER_CST) TREE_VALUE (second_argument) - = wide_int_to_tree (TREE_TYPE (number), wide_int (number) + 2); + = wide_int_to_tree (TREE_TYPE (number), + wi::add (number, 2)); /* This is the third argument, the "first-to-check", which specifies the index of the first argument to @@ -4895,7 +4896,8 @@ objc_decl_method_attributes (tree *node, tree attributes, int flags) number = TREE_VALUE (third_argument); if (number && TREE_CODE (number) == INTEGER_CST) TREE_VALUE (third_argument) - = wide_int_to_tree (TREE_TYPE (number), wide_int (number) + 2); + = wide_int_to_tree (TREE_TYPE (number), + wi::add (number, 2)); } filtered_attributes = chainon (filtered_attributes, new_attribute); @@ -4930,7 +4932,8 @@ objc_decl_method_attributes (tree *node, tree attributes, int flags) if (number && TREE_CODE (number) == INTEGER_CST && !wi::eq_p (number, 0)) TREE_VALUE (argument) - = wide_int_to_tree (TREE_TYPE (number), wide_int (number) + 2); + = wide_int_to_tree (TREE_TYPE (number), + wi::add (number, 2)); argument = TREE_CHAIN (argument); } |