Skip to content

Commit

Permalink
fixup: debug_printf: spv_in
Browse files Browse the repository at this point in the history
  • Loading branch information
exrook committed Oct 16, 2023
1 parent 822c835 commit 3d3a95d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/front/spv/ext_inst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,14 @@ impl<I: Iterator<Item = u32>> super::Frontend<I> {
let base_wc = 5;
inst.expect_at_least(base_wc + 1)?;
let format_id = self.next()?;
println!("FORMAT ID: {}", format_id);
let format = self.strings.lookup(format_id)?.clone();

block.extend(emitter.finish(ctx.expressions));

let mut arguments = Vec::with_capacity(inst.wc as usize - (base_wc as usize + 1));
for _ in 0..arguments.capacity() {
let arg_id = self.next()?;
println!("ARG ID: {}", arg_id);
let lexp = self.lookup_expression.lookup(arg_id)?;
// arguments.push(get_expr_handle!(arg_id, lexp));
arguments.push(self.get_expr_handle(arg_id, lexp, ctx, emitter, block, body_idx));
}

Expand Down

0 comments on commit 3d3a95d

Please sign in to comment.