aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-builtins.cc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-11-17 16:50:58 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2023-02-21 12:36:53 +0100
commit064bbd0fe10437ab0b2b5a386c77c9e285dda760 (patch)
tree10df15f4f52c340858f60ce443c03a004fa57993 /gcc/rust/backend/rust-builtins.cc
parentb9203d82ad276b7eb6b7ecd675da92c1debbc485 (diff)
downloadgcc-064bbd0fe10437ab0b2b5a386c77c9e285dda760.zip
gcc-064bbd0fe10437ab0b2b5a386c77c9e285dda760.tar.gz
gcc-064bbd0fe10437ab0b2b5a386c77c9e285dda760.tar.bz2
gccrs: const evaluator: Remove get_nth_callarg
We only used one path of the C++ folder's get_nth_callarg function: CALL_EXPR_ARG. Replace all calls to get_nth_callarg by macro calls to CALL_EXPR_ARG gcc/rust/ChangeLog: * backend/rust-constexpr.cc (get_nth_callarg): Remove function. (rs_bind_parameters_in_call): Use CALL_EXPR_ARG instead. (potential_constant_expression_1): Likewise.
Diffstat (limited to 'gcc/rust/backend/rust-builtins.cc')
0 files changed, 0 insertions, 0 deletions