This is probably better.

This commit is contained in:
gibbed 2013-10-19 01:18:18 -07:00
parent c60230f28a
commit 32a0045001
1 changed files with 2 additions and 2 deletions

View File

@ -576,8 +576,8 @@ void X64Emitter::GenerateBasicBlock(FunctionBlock* block) {
clear_all_constant_gpr_values();
// TODO: this fixes crashes when not using instruction/branch tracing. Figure out why it's broken.
c.save(c.getGpArg(0));
c.save(c.getGpArg(1));
c.spill(c.getGpArg(0));
c.spill(c.getGpArg(1));
// This will create a label if it hasn't already been done.
std::map<uint32_t, Label>::iterator label_it =