Displaying 1 result from an estimated 1 matches for "replacehandl".
Did you mean:
replacehandles
2006 Aug 25
4
[LLVMdev] Built LLVM 1.8 on VC8, invalid iterator issue/fix, some questions
...I build with VC8. I've managed to fix it
by duplicating the std::vector in question before iterating through it,
but I'm too new to the code to be able to say whether it's the "right"
fix. The offending bit of generated code is this area from
X86GenDAGISel.inc, line 84+:
// ReplaceHandles - Replace all the handles with the real target
// specific nodes.
void ReplaceHandles() {
for (std::map<SDOperand, SDOperand>::iterator I = ReplaceMap.begin(),
E = ReplaceMap.end(); I != E; ++I) {
SDOperand From = I->first;
SDOperand To = I->second;
for...