Skip to content

Commit 8bc33bc

Browse files
committed
Fix bitset comments
1 parent 385e943 commit 8bc33bc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/rustc_codegen_spirv/src/linker

crates/rustc_codegen_spirv/src/linker/ipo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl CallGraph {
6969
pub fn post_order(&self) -> Vec<FuncIdx> {
7070
let num_funcs = self.callees.len();
7171

72-
// FIXME(eddyb) use a properDenseBitSet.
72+
// FIXME(eddyb) use a proper bitset.
7373
let mut visited = vec![false; num_funcs];
7474
let mut post_order = Vec::with_capacity(num_funcs);
7575

crates/rustc_codegen_spirv/src/linker/spirt_passes/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ fn remove_unused_values_in_func(cx: &Context, func_def_body: &mut FuncDefBody) {
407407
&cx[func_at_inst.def().form].kind
408408
{
409409
// HACK(eddyb) small selection relevant for now,
410-
// but should be extended using e.g. aDenseBitSet.
410+
// but should be extended using e.g. a bitset.
411411
if [wk.OpNop, wk.OpCompositeInsert].contains(&spv_inst.opcode) {
412412
continue;
413413
}

0 commit comments

Comments
 (0)