Update GEP constructors to use an iterator interface to fix
GLIBCXX_DEBUG issues. llvm-svn: 41697
This commit is contained in:
1 parent
77b97002e9
commit
c656cbb8c2
21 files changed
+195
-160
No files matched your search
@@ -1234,7 +1234,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) {
|
||||
GEPIdx.push_back(Op);
|
||||
}
|
||||
|
||||
I = new GetElementPtrInst(BasePtr, &GEPIdx[0], GEPIdx.size());
|
||||
I = new GetElementPtrInst(BasePtr, GEPIdx.begin(), GEPIdx.end());
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user