Move %rsp to %rbp, not the reverse.

This also takes away %rsp and %rbp from regalloc again. This may cause
tests to fail temporarily.
This commit is contained in:
Tyler McMullen
2017-11-29 03:16:37 -08:00
committed by Jakob Stoklund Olesen
parent e0c8ab49e1
commit b049916d35
2 changed files with 3 additions and 3 deletions

View File

@@ -140,8 +140,8 @@ pub fn allocatable_registers(
flags: &shared_settings::Flags,
) -> AllocatableSet {
let mut regs = AllocatableSet::new();
//regs.take(GPR, RU::rsp as RegUnit);
//regs.take(GPR, RU::rbp as RegUnit);
regs.take(GPR, RU::rsp as RegUnit);
regs.take(GPR, RU::rbp as RegUnit);
// 32-bit arch only has 8 registers.
if !flags.is_64bit() {