diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-18 15:42:40 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-18 15:42:40 +0000 |
commit | 19b48b1d0125b919df4e3173081afd81f3fc6358 (patch) | |
tree | b1a6ff5e979ba14aa4880dd089cdde369649a13b /gcc/hard-reg-set.h | |
parent | 8516586fa6aa545d91b68de28b1ea85cefb0abf7 (diff) | |
download | gcc-19b48b1d0125b919df4e3173081afd81f3fc6358.tar.gz |
2012-01-18 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 183270 using svnmerge
[gcc/]
2012-01-18 Basile Starynkevitch <basile@starynkevitch.net>
* warmelt-base.melt (clone_with_discriminant): Better casts in
macrostrings.
* melt/xtramelt-ana-base.melt (tree_function_decl_named)
(function_decl_of_name, tree_function_decl, tree_var_decl_named)
(tree_var_decl, tree_var_decl_of_name, tree_const_decl_of_name)
(tree_const_decl_named, tree_parm_decl_named)
(tree_parm_decl_of_name, tree_parm_decl, tree_result_decl_named)
(tree_result_decl, tree_result_decl_of_name): Improve or add or
change.
* melt/xtramelt-ana-simple.melt (meltframe_exec)
(smaninterp_gimple, ...): Adapt to previous changes.
* melt/xtramelt-c-generator.melt: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@183274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hard-reg-set.h')
-rw-r--r-- | gcc/hard-reg-set.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h index 9823a5b3441..ecdad174c13 100644 --- a/gcc/hard-reg-set.h +++ b/gcc/hard-reg-set.h @@ -1,6 +1,6 @@ /* Sets (bit vectors) of hard registers, and operations on them. Copyright (C) 1987, 1992, 1994, 2000, 2003, 2004, 2005, 2007, 2008, 2009, - 2010 Free Software Foundation, Inc. + 2010, 2012 Free Software Foundation, Inc. This file is part of GCC @@ -54,6 +54,14 @@ typedef HARD_REG_ELT_TYPE HARD_REG_SET[HARD_REG_SET_LONGS]; #endif +/* HARD_REG_SET wrapped into a structure, to make it possible to + use HARD_REG_SET even in APIs that should not include + hard-reg-set.h. */ +struct hard_reg_set_container +{ + HARD_REG_SET set; +}; + /* HARD_CONST is used to cast a constant to the appropriate type for use with a HARD_REG_SET. */ |