Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 82a8824

Browse files
committed
把无用的print去掉
1 parent 44dc522 commit 82a8824

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ impl Assembler {
131131
&mut self.refill_symbols,
132132
self.instruction_sequence.len(),
133133
));
134-
println!("{}", opcode);
135134
}
136135
} else {
137136
// 非指令
@@ -320,7 +319,6 @@ impl Assembler {
320319
};
321320
i += 1;
322321
}
323-
println!("{:?}", address_table);
324322
// 生成目标代码
325323
i = 0;
326324
addr = 0;
@@ -367,8 +365,6 @@ impl Assembler {
367365
};
368366
// 替换标号
369367
if let Some(((starts, length), name)) = self.refill_symbols.get(&(i as usize)) {
370-
println!("{},{:?}", i, self.refill_symbols.get(&(i as usize)));
371-
println!("{},{:?}", i, inst);
372368
let mut taddr = {
373369
if name == "n" {
374370
let mut x = i;

0 commit comments

Comments
 (0)