parent
425e180ce8
commit
4e87e850a2
|
@ -456,6 +456,9 @@ static uint32_t encodeCompactUnwindRegistersWithFrame(unsigned SavedRegs[6],
|
|||
int CURegNum = getCompactUnwindRegNum(CURegs, Reg);
|
||||
if (CURegNum == -1)
|
||||
return ~0U;
|
||||
|
||||
// Encode the 3-bit register number in order, skipping over 3-bits for each
|
||||
// register.
|
||||
RegEnc |= (CURegNum & 0x7) << ((5 - I) * 3);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue