aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-fnparam.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-10-05 14:50:29 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-10-05 15:09:09 +0100
commitf6a04f38d51f6ca4319219f101e3f58660b128dc (patch)
tree755b5bebd0b063be0464510d00bef0886a9aa03c /gcc/rust/backend/rust-compile-fnparam.h
parent591b43e42e7f63841ce46fdd4f2760e47b6a7b0d (diff)
downloadgcc-f6a04f38d51f6ca4319219f101e3f58660b128dc.zip
gcc-f6a04f38d51f6ca4319219f101e3f58660b128dc.tar.gz
gcc-f6a04f38d51f6ca4319219f101e3f58660b128dc.tar.bz2
Ensure we emit the code for coercion sites on CallExpr and MethodCallExpr
When we coerce the types of arguments to the parameters of functions for example we must store the actual type of the argument at that HIR ID not the coerced ones. This gives the backend a chance to then figure out when to actually implement any coercion site code. such as computing the dynamic objects. Fixes: #700
Diffstat (limited to 'gcc/rust/backend/rust-compile-fnparam.h')
0 files changed, 0 insertions, 0 deletions