'Fixing' register clobbering by disabling a bunch of nonvolatile regs.
This commit is contained in:
parent
ac59b61851
commit
aadf92e4ea
|
@ -106,7 +106,13 @@ int X64Emitter::Emit(HIRBuilder* builder) {
|
||||||
GetRegBit(rbp) |
|
GetRegBit(rbp) |
|
||||||
GetRegBit(rsi) |
|
GetRegBit(rsi) |
|
||||||
GetRegBit(rdi) |
|
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.
|
// Function prolog.
|
||||||
// Must be 16b aligned.
|
// Must be 16b aligned.
|
||||||
|
|
Loading…
Reference in New Issue