'Fixing' register clobbering by disabling a bunch of nonvolatile regs.

This commit is contained in:
Ben Vanik 2014-01-26 11:18:12 -08:00
parent ac59b61851
commit aadf92e4ea
1 changed files with 7 additions and 1 deletions

View File

@ -106,7 +106,13 @@ int X64Emitter::Emit(HIRBuilder* builder) {
GetRegBit(rbp) |
GetRegBit(rsi) |
GetRegBit(rdi) |
GetRegBit(xmm0);
GetRegBit(xmm0) |
// TODO(benvanik): save so that we can use these.
GetRegBit(r8) |
GetRegBit(r9) |
GetRegBit(r10) |
GetRegBit(r11);
// Function prolog.
// Must be 16b aligned.