diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-10-13 09:31:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 09:31:52 +0000 |
commit | 7a341772dcf51445af08071eeb0ed0ea93cd60a1 (patch) | |
tree | 1a2fc5792371195fae63c36dc4989ef8032078c4 /gcc/rust/backend/rust-compile-fnparam.h | |
parent | 6355d05a65ce8e253f83f2a7b17c80406a0c1bd5 (diff) | |
parent | f6a04f38d51f6ca4319219f101e3f58660b128dc (diff) | |
parent | 85338a7f1ca9bc6d62ea3eb3e0c796b31a58bbbe (diff) | |
download | gcc-7a341772dcf51445af08071eeb0ed0ea93cd60a1.zip gcc-7a341772dcf51445af08071eeb0ed0ea93cd60a1.tar.gz gcc-7a341772dcf51445af08071eeb0ed0ea93cd60a1.tar.bz2 |
Merge #710 #727
710: Ensure for Coercion Sites we emit the code nessecary r=philberty a=philberty
Coercion sites in Rust can require extra code generation for
CallExpressions arguments for example. This ensures we detect
those cases and emit the extra code necessary. Please read the individual
commit messages for more detail on how this works.
Fixes #700 #708 #709
727: Remove lambda iterators in various HIR classes r=philberty a=dafaust
(This is a revision of #726 with formatting fixes)
This patch removes the lambda iterators used in various HIR objects.
These iterators make interacting with the IR for static analysis more
difficult. Instead, get_X () helpers are added for accessing elements,
and uses of the iterators replaced with for loops.
The following objects are adjusted in this patch:
- HIR::ArrayElemsValues
- HIR::TupleExpr
- HIR::StructExprField
- HIR::StructStruct
- HIR::TupleStruct
Fixes: #703
Fixes: #704
Fixes: #705
Fixes: #706
Fixes: #707
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Co-authored-by: David Faust <david.faust@oracle.com>