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
This commit is contained in:
David Greene 2007-09-04 17:15:07 +00:00
parent f0e856077c
commit 418a04ec9b

View File

@ -787,8 +787,8 @@ void CppWriter::printConstant(const Constant *CV) {
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));