Remove redundant setIP call overwritten a few lines later.
This commit is contained in:
parent
90dc754a9d
commit
364f0c0b54
|
@ -153,7 +153,6 @@ step_result DwarfInstructions<A, R>::stepWithDwarf(A &addressSpace, pint_t pc,
|
||||||
// The CFA is defined as the stack pointer at the call site.
|
// The CFA is defined as the stack pointer at the call site.
|
||||||
// Therefore the SP is restored by setting it to the CFA.
|
// Therefore the SP is restored by setting it to the CFA.
|
||||||
newRegisters.setSP(cfa);
|
newRegisters.setSP(cfa);
|
||||||
newRegisters.setIP(returnAddress + R::RETURN_OFFSET);
|
|
||||||
returnAddress += R::RETURN_OFFSET;
|
returnAddress += R::RETURN_OFFSET;
|
||||||
returnAddress &= ~R::RETURN_MASK;
|
returnAddress &= ~R::RETURN_MASK;
|
||||||
newRegisters.setIP(returnAddress);
|
newRegisters.setIP(returnAddress);
|
||||||
|
|
Loading…
Reference in New Issue