Skip to content

Commit 2e89179

Browse files
committed
Make comment more specific
1 parent 38f134c commit 2e89179

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/context.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ pub struct CodegenCx<'gcc, 'tcx> {
127127
pub pointee_infos: RefCell<FxHashMap<(Ty<'tcx>, Size), Option<PointeeInfo>>>,
128128

129129
/// 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.
130+
/// `const_undef()` returns struct as pointer so that they can later be assigned a value (in
131+
/// e.g. Builder::insert_value).
131132
/// As such, this set remembers which of these pointers were returned by this function so that
132133
/// they can be dereferenced later.
133134
/// FIXME(antoyo): fix the rustc API to avoid having this hack.

0 commit comments

Comments
 (0)