aboutsummaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2024-06-10 17:26:46 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2024-06-25 10:10:06 -0700
commit31aacdb73abe8ebd2fb7007ebc57f62a7c2c3572 (patch)
treea4df9b6584f5a81c0eb4c1d1c6a38a18d728b8f5 /config.sub
parentab2b4d34452cc14b75052d3416c433b25543df35 (diff)
downloadgdb-users/ibhagat/try-sframe-scfi-next.zip
gdb-users/ibhagat/try-sframe-scfi-next.tar.gz
gdb-users/ibhagat/try-sframe-scfi-next.tar.bz2
gas: scfi: make gen_scfi_ops more readableusers/ibhagat/try-sframe-scfi-next
Replace the scattered and repeated uses of verbose expressions with variables: ginsn_get_src_reg (src1) -> src1_reg ginsn_get_src_type (src1) -> src1_type etc. This hopefully makes the logic more readable. While at it, make some of the checks more precise: - When getting imm value, ensure the src type is GINSN_SRC_IMM, - When getting reg, ensure the src type is checked too (GINSN_SRC_REG or GINSN_SRC_INDIRECT as appropriate). ChangeLog: * gas/scfi.c (gen_scfi_ops): Add new local vars and reuse them. Make some conditionals more precise.
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions