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. From-SVN: r228486
This commit is contained in:
parent
b2b91e8533
commit
eedc18841c
|
@ -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>
|
2015-10-05 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
||||||
|
|
||||||
* gimple.h (gimple_location_ptr): Remove.
|
* gimple.h (gimple_location_ptr): Remove.
|
||||||
|
|
20
gcc/gimple.h
20
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 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. */
|
/* Set IN_OP to be input operand INDEX in GIMPLE_ASM ASM_STMT. */
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
|
@ -3747,16 +3737,6 @@ gimple_asm_output_op (const gasm *asm_stmt, unsigned index)
|
||||||
return asm_stmt->op[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. */
|
/* Set OUT_OP to be output operand INDEX in GIMPLE_ASM ASM_STMT. */
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
|
|
Loading…
Reference in New Issue