Revert this because the interface hasn't been updated yet.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41703 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm2cpp/CppWriter.cpp b/tools/llvm2cpp/CppWriter.cpp
index 0773339..0b7b0ee 100644
--- a/tools/llvm2cpp/CppWriter.cpp
+++ b/tools/llvm2cpp/CppWriter.cpp
@@ -787,8 +787,8 @@
       Out << "Constant* " << constName 
           << " = ConstantExpr::getGetElementPtr(" 
           << getCppName(CE->getOperand(0)) << ", " 
-          << constName << "_indices.begin(), "
-          << constName << "_indices.end()"
+          << "&" << constName << "_indices[0], "
+          << constName << "_indices.size()"
           << " );";
     } else if (CE->isCast()) {
       printConstant(CE->getOperand(0));