Adding thread ID to trace lines and cleaning up their formatting.

This commit is contained in:
Ben Vanik
2013-06-30 06:09:08 -07:00
parent 82ee749515
commit 6f602d120a
10 changed files with 84 additions and 49 deletions

View File

@@ -616,8 +616,6 @@ void X64Emitter::GenerateBasicBlock(FunctionBlock* block) {
fflush(stdout);
}
TraceInstruction(i);
if (!i.type) {
XELOGCPU("Invalid instruction %.8X %.8X", ia, i.code);
TraceInvalidInstruction(i);
@@ -634,6 +632,8 @@ void X64Emitter::GenerateBasicBlock(FunctionBlock* block) {
ia, i.code, i.type->name);
TraceInvalidInstruction(i);
}
TraceInstruction(i);
}
// If we fall through, create the branch.