Skip to content

Commit 09bbc53

Browse files
committed
Remove debug print
1 parent fa28352 commit 09bbc53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/obj/mips.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ pub fn process_code(
3838
let branch_dest =
3939
if is_branch { Some((cur_addr as i32 + branch_offset) as u32) } else { None };
4040

41-
println!("{:?}", instruction.get_operands_slice());
42-
let mut args = Vec::new();
43-
for op in instruction.get_operands_slice() {
41+
let operands = instruction.get_operands_slice();
42+
let mut args = Vec::with_capacity(operands.len() + 1);
43+
for op in operands {
4444
match op {
4545
OperandType::cpu_immediate
4646
| OperandType::cpu_label

0 commit comments

Comments
 (0)