summaryrefslogtreecommitdiff
path: root/gcc/tree-affine.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-29 21:21:12 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-29 21:21:12 +0000
commitab2c1de89558662bbdeed695778f46b4f64fa2d5 (patch)
tree7ce5c1502e93e296b04ac2412cba4ab28999e65b /gcc/tree-affine.h
parent1e1472ccb9ce106e0a8dc6b4d38ea2b6c5a9028d (diff)
downloadgcc-ab2c1de89558662bbdeed695778f46b4f64fa2d5.tar.gz
- Fix comment typos that I'd introducted.
- Fix spurious whitespace differences. - Use const X & instead of X for *wide_int parameters. - Fuse declarations and initialisers. - Avoid unnecessary *wide_int temporaries (e.g. wide_int (x) == 0 -> wi::eq_p (x, 0)). - Fix some long lines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@204183 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-affine.h')
-rw-r--r--gcc/tree-affine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-affine.h b/gcc/tree-affine.h
index ad2307beda4..941d45aeb41 100644
--- a/gcc/tree-affine.h
+++ b/gcc/tree-affine.h
@@ -60,13 +60,13 @@ typedef struct affine_tree_combination
tree rest;
} aff_tree;
-widest_int wide_int_ext_for_comb (widest_int, aff_tree *);
+widest_int wide_int_ext_for_comb (const widest_int &, aff_tree *);
void aff_combination_const (aff_tree *, tree, const widest_int &);
void aff_combination_elt (aff_tree *, tree, tree);
-void aff_combination_scale (aff_tree *, widest_int);
+void aff_combination_scale (aff_tree *, const widest_int &);
void aff_combination_mult (aff_tree *, aff_tree *, aff_tree *);
void aff_combination_add (aff_tree *, aff_tree *);
-void aff_combination_add_elt (aff_tree *, tree, widest_int);
+void aff_combination_add_elt (aff_tree *, tree, const widest_int &);
void aff_combination_remove_elt (aff_tree *, unsigned);
void aff_combination_convert (aff_tree *, tree);
void tree_to_aff_combination (tree, tree, aff_tree *);