]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
remove unused gasm accessors
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Mon, 5 Oct 2015 13:54:50 +0000 (13:54 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Mon, 5 Oct 2015 13:54:50 +0000 (13:54 +0000)
gcc/ChangeLog:

2015-10-05  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

* gimple.h (gimple_asm_input_op_ptr): Remove.
(gimple_asm_output_op_ptr): Likewise.

From-SVN: r228486

gcc/ChangeLog
gcc/gimple.h

index c831924e40e99492321123c17c87425a94a884d2..30b86ea7fda8152311f60c39429dd8ffae4e7a70 100644 (file)
@@ -1,3 +1,8 @@
+2015-10-05  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
+       * gimple.h (gimple_asm_input_op_ptr): Remove.
+       (gimple_asm_output_op_ptr): Likewise.
+
 2015-10-05  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
 
        * gimple.h (gimple_location_ptr): Remove.
index cfd8d2c0a3808aaca363b54c4d9705a24bf8d9a9..9e7a9112f09df094da7f931cdeddfe4b995dc026 100644 (file)
@@ -3717,16 +3717,6 @@ gimple_asm_input_op (const gasm *asm_stmt, unsigned index)
   return asm_stmt->op[index + asm_stmt->no];
 }
 
-/* Return a pointer to input operand INDEX of GIMPLE_ASM ASM_STMT.  */
-
-static inline tree *
-gimple_asm_input_op_ptr (const gasm *asm_stmt, unsigned index)
-{
-  gcc_gimple_checking_assert (index < asm_stmt->ni);
-  return const_cast<tree *> (&asm_stmt->op[index + asm_stmt->no]);
-}
-
-
 /* Set IN_OP to be input operand INDEX in GIMPLE_ASM ASM_STMT.  */
 
 static inline void
@@ -3747,16 +3737,6 @@ gimple_asm_output_op (const gasm *asm_stmt, unsigned index)
   return asm_stmt->op[index];
 }
 
-/* Return a pointer to output operand INDEX of GIMPLE_ASM ASM_STMT.  */
-
-static inline tree *
-gimple_asm_output_op_ptr (const gasm *asm_stmt, unsigned index)
-{
-  gcc_gimple_checking_assert (index < asm_stmt->no);
-  return const_cast<tree *> (&asm_stmt->op[index]);
-}
-
-
 /* Set OUT_OP to be output operand INDEX in GIMPLE_ASM ASM_STMT.  */
 
 static inline void