We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38f134c commit 2e89179Copy full SHA for 2e89179
src/context.rs
@@ -127,7 +127,8 @@ pub struct CodegenCx<'gcc, 'tcx> {
127
pub pointee_infos: RefCell<FxHashMap<(Ty<'tcx>, Size), Option<PointeeInfo>>>,
128
129
/// NOTE: a hack is used because the rustc API is not suitable to libgccjit and as such,
130
- /// `const_undef()` returns struct as pointer so that they can later be assigned a value.
+ /// `const_undef()` returns struct as pointer so that they can later be assigned a value (in
131
+ /// e.g. Builder::insert_value).
132
/// As such, this set remembers which of these pointers were returned by this function so that
133
/// they can be dereferenced later.
134
/// FIXME(antoyo): fix the rustc API to avoid having this hack.
0 commit comments