mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
Updates to support
* Changes in PHI node structure git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -158,7 +158,7 @@ bool InlineMethod(BasicBlock::InstListType::iterator CIIt) {
|
||||
assert(RI->getReturnValue() && "Ret should have value!");
|
||||
assert(RI->getReturnValue()->getType() == PHI->getType() &&
|
||||
"Ret value not consistent in method!");
|
||||
PHI->addIncoming((Value*)RI->getReturnValue());
|
||||
PHI->addIncoming((Value*)RI->getReturnValue(), (BasicBlock*)BB);
|
||||
}
|
||||
|
||||
// Add a branch to the code that was after the original Call.
|
||||
|
Reference in New Issue
Block a user