Add hack to register checker for rbp
Rbp is allocated just as weirdly as rbx. I was able to hit this assert on a inlined function that didn't eliminate the ActRec (there are ReDefSP's that consume rbp).
Esse commit está contido em:
@@ -128,8 +128,10 @@ bool checkRegisters(Trace* trace, const IRFactory& factory,
|
||||
for (IRInstruction& inst : *block) {
|
||||
for (SSATmp* src : inst.getSrcs()) {
|
||||
auto const &info = regs[src];
|
||||
if (!info.spilled() && info.getReg(0) == Transl::rVmSp) {
|
||||
// hack - ignore rbx
|
||||
if (!info.spilled() &&
|
||||
(info.getReg(0) == Transl::rVmSp ||
|
||||
info.getReg(0) == Transl::rVmFp)) {
|
||||
// hack - ignore rbx and rbp
|
||||
continue;
|
||||
}
|
||||
for (unsigned i = 0, n = info.numAllocatedRegs(); i < n; ++i) {
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário