Commit e2934731 authored by Chang-Hyun Mungai's avatar Chang-Hyun Mungai Committed by gbsbuild

Merge between components.

Change-Id: Iae9b3e3ea8dba22edc760df3c1b9999372b2b772
parent 80db6d64
......@@ -1106,10 +1106,12 @@ void EmitPass::MovPhiSources(llvm::BasicBlock* aBB)
// the entry becomes the one to be added into emitList.
It = phiSrcDstList.begin();
}
assert(It != Et);
emitList.push_back(std::pair<CVariable*, CVariable*>(It->first, It->second));
phiSrcDstList.erase(It);
else
{
assert(It != Et);
emitList.push_back(std::pair<CVariable*, CVariable*>(It->first, It->second));
phiSrcDstList.erase(It);
}
}
// emit the src-side phi-moves
for (unsigned i = 0, e = int_cast<unsigned>(emitList.size()); i != e; ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment