Re: [PATCH 60/89] Concretize gimple_catch_types

2014-05-12 Thread Jeff Law

On 04/21/14 10:57, David Malcolm wrote:

gcc/
* gimple.h (gimple_catch_types): Require a const_gimple_catch
rather than a const_gimple.
---

OK once prerequisites have gone in.
jeff



[PATCH 60/89] Concretize gimple_catch_types

2014-04-21 Thread David Malcolm
gcc/
* gimple.h (gimple_catch_types): Require a const_gimple_catch
rather than a const_gimple.
---
 gcc/gimple.h | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gcc/gimple.h b/gcc/gimple.h
index 7dfd512..3c54119 100644
--- a/gcc/gimple.h
+++ b/gcc/gimple.h
@@ -3794,13 +3794,11 @@ gimple_asm_input_p (const_gimple_asm asm_stmt)
 }
 
 
-/* Return the types handled by GIMPLE_CATCH statement GS.  */
+/* Return the types handled by GIMPLE_CATCH statement CATCH_STMT.  */
 
 static inline tree
-gimple_catch_types (const_gimple gs)
+gimple_catch_types (const_gimple_catch catch_stmt)
 {
-  const gimple_statement_catch *catch_stmt =
-as_a const gimple_statement_catch (gs);
   return catch_stmt-types;
 }
 
-- 
1.8.5.3