mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-11-30 01:30:24 +00:00
Update GEP constructors to use an iterator interface to fix
GLIBCXX_DEBUG issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41697 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
3825262399
commit
b8f74793b9
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