about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-06-28 14:09:51 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-06-29 11:51:00 +1000
commit8d7084d65fc3c1956b0c1459d26cb5fa9b811525 (patch)
tree3f518f0108fa75f2cae593271e13ab5934889298 /compiler/rustc_codegen_gcc
parent81436ebd55e3512282bb3954e8fb2a936f1ef495 (diff)
downloadrust-8d7084d65fc3c1956b0c1459d26cb5fa9b811525.tar.gz
rust-8d7084d65fc3c1956b0c1459d26cb5fa9b811525.zip
Simplify the `bundles` vectors.
After the last commit, they contain `Option<&OperandBundleDef<'a>>` but
the values are always `Some(_)`. This commit removes the needless
`Option` wrapper. This also simplifies the type signatures of
`LLVMRustBuild{Invoke,Call}`, which were relying on the fact that the
represention of `Option<&T>` is the same as `&T` for non-`None` values.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions