Adding --target= and --trace_registers flags.

--target=[xex|iso] makes it possible to specify the thing to run from a
flagfile.
This commit is contained in:
Ben Vanik
2013-05-29 21:45:54 -07:00
parent 37530d1438
commit f307bc9eb1
5 changed files with 47 additions and 36 deletions

View File

@@ -228,7 +228,9 @@ int X64Emitter::MakeFunction(FunctionSymbol* symbol) {
int result_code = 1;
Lock();
XELOGCPU("Compile(%s): beginning compilation...", symbol->name());
if (FLAGS_log_codegen) {
XELOGCPU("Compile(%s): beginning compilation...", symbol->name());
}
symbol_ = symbol;
fn_block_ = NULL;