diff options
author | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2011-07-26 20:52:25 +0000 |
---|---|---|
committer | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2011-07-26 20:52:25 +0000 |
commit | 84c7b9e586030957e02a06e4db3c65feb1b84b41 (patch) | |
tree | d2e243c34cbf83c125133a61d7ae981176e97733 /llvm/lib/Target | |
parent | 73a8393a47828129c409a789986541c3f9458ea1 (diff) | |
download | bcm5719-llvm-84c7b9e586030957e02a06e4db3c65feb1b84b41.tar.gz bcm5719-llvm-84c7b9e586030957e02a06e4db3c65feb1b84b41.zip |
Update generated code to use new API of GetElementPtrInst::Create.
llvm-svn: 136138
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/CppBackend/CPPBackend.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp index ab944e6f921..7f5f5e189e8 100644 --- a/llvm/lib/Target/CppBackend/CPPBackend.cpp +++ b/llvm/lib/Target/CppBackend/CPPBackend.cpp @@ -1240,8 +1240,7 @@ void CppWriter::printInstruction(const Instruction *I, nl(Out); } Out << "Instruction* " << iName << " = GetElementPtrInst::Create(" - << opNames[0] << ", " << iName << "_indices.begin(), " - << iName << "_indices.end()"; + << opNames[0] << ", " << iName << "_indices"; } Out << ", \""; printEscapedString(gep->getName()); |