a64_merge_interpret_blocks: Remove debug output

This commit is contained in:
MerryMage 2018-01-13 22:05:05 +00:00
parent e99db8e745
commit 4e3675da7b

View file

@ -31,7 +31,6 @@ void A64MergeInterpretBlocksPass(IR::Block& block, A64::UserCallbacks* cb) {
const IR::Terminal terminal = new_block.GetTerminal(); const IR::Terminal terminal = new_block.GetTerminal();
if (auto term = boost::get<IR::Term::Interpret>(&terminal)) { if (auto term = boost::get<IR::Term::Interpret>(&terminal)) {
printf("INTERPET %08x \\x%02x\\x%02x\\x%02x\\x%02x \n", instruction, u8(instruction >> 0), u8(instruction >> 8), u8(instruction >> 16), u8(instruction >> 24));
return term->next == location; return term->next == location;
} }
@ -50,8 +49,6 @@ void A64MergeInterpretBlocksPass(IR::Block& block, A64::UserCallbacks* cb) {
num_instructions++; num_instructions++;
} }
printf("%zu\n", num_instructions);
term->num_instructions = num_instructions; term->num_instructions = num_instructions;
block.ReplaceTerminal(terminal); block.ReplaceTerminal(terminal);
block.CycleCount() += num_instructions - 1; block.CycleCount() += num_instructions - 1;