diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-10-05 14:50:29 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-10-05 15:09:09 +0100 |
commit | f6a04f38d51f6ca4319219f101e3f58660b128dc (patch) | |
tree | 755b5bebd0b063be0464510d00bef0886a9aa03c /gcc/rust/backend/rust-compile-fnparam.h | |
parent | 591b43e42e7f63841ce46fdd4f2760e47b6a7b0d (diff) | |
download | gcc-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