Skip to content

Commit

Permalink
Fix errors after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeac committed Nov 6, 2018
1 parent dc3bc65 commit dd5687b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/boomerang/frontend/pentium/CapstoneX86Decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ std::unique_ptr<RTL> CapstoneX86Decoder::createRTLForInstruction(Address pc,
CallStatement *call = new CallStatement;
// Set the destination
call->setDest(callDest);
rtl->push_back(call);
rtl->append(call);

if (callDest->isConst()) {
Function *destProc = m_prog->getOrCreateFunction(
Expand Down Expand Up @@ -372,8 +372,9 @@ std::unique_ptr<RTL> CapstoneX86Decoder::createRTLForInstruction(Address pc,
}

rtl->clear();
rtl->push_back(bas);
rtl->append(bas);
}

return rtl;
}

Expand Down

0 comments on commit dd5687b

Please sign in to comment.