Utility to dump instruction translation counts.

This commit is contained in:
Ben Vanik
2015-01-11 00:44:17 -08:00
parent b6b27e621a
commit 5827f5f5d8
5 changed files with 37 additions and 23 deletions

View File

@@ -124,6 +124,10 @@ int PPCTranslator::Translate(FunctionInfo* symbol_info,
string_buffer_.Reset();
}
if (false) {
alloy::frontend::ppc::DumpAllInstrCounts();
}
// Emit function.
uint32_t emit_flags = 0;
if (debug_info) {