Prefer doc comments over //-comments in compiler
This commit is contained in:
@@ -88,9 +88,9 @@ pub struct CodegenCx<'gcc, 'tcx> {
|
|||||||
pub vtables: RefCell<FxHashMap<(Ty<'tcx>, Option<ty::PolyExistentialTraitRef<'tcx>>), RValue<'gcc>>>,
|
pub vtables: RefCell<FxHashMap<(Ty<'tcx>, Option<ty::PolyExistentialTraitRef<'tcx>>), RValue<'gcc>>>,
|
||||||
|
|
||||||
// TODO(antoyo): improve the SSA API to not require those.
|
// TODO(antoyo): improve the SSA API to not require those.
|
||||||
// Mapping from function pointer type to indexes of on stack parameters.
|
/// Mapping from function pointer type to indexes of on stack parameters.
|
||||||
pub on_stack_params: RefCell<FxHashMap<FunctionPtrType<'gcc>, FxHashSet<usize>>>,
|
pub on_stack_params: RefCell<FxHashMap<FunctionPtrType<'gcc>, FxHashSet<usize>>>,
|
||||||
// Mapping from function to indexes of on stack parameters.
|
/// Mapping from function to indexes of on stack parameters.
|
||||||
pub on_stack_function_params: RefCell<FxHashMap<Function<'gcc>, FxHashSet<usize>>>,
|
pub on_stack_function_params: RefCell<FxHashMap<Function<'gcc>, FxHashSet<usize>>>,
|
||||||
|
|
||||||
/// Cache of emitted const globals (value -> global)
|
/// Cache of emitted const globals (value -> global)
|
||||||
|
|||||||
Reference in New Issue
Block a user