summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-05 13:54:50 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-05 13:54:50 +0000
commitf266c2a3dc073baafac41f005fba8cf43b2bfa8e (patch)
treefd64c6cf2818edccbf0cf31ae566644e587372bc
parent42181fc58e18b3dcffc3ab0c090f649cc9dd6e9f (diff)
downloadgcc-f266c2a3dc073baafac41f005fba8cf43b2bfa8e.tar.gz
remove unused gasm accessors
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228486 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gimple.h20
2 files changed, 5 insertions, 20 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c831924e40e..30b86ea7fda 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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.
* tree-vrp.c (check_all_array_refs): Adjust.
diff --git a/gcc/gimple.h b/gcc/gimple.h
index cfd8d2c0a38..9e7a9112f09 100644
--- a/gcc/gimple.h
+++ b/gcc/gimple.h
@@ -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