From 63b52693c85ef76241b56b1d4a2d8b7b623ce90b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 26 Nov 2001 16:56:19 +0000 Subject: The old getIndices has been deprecated, because it no longer works. It now is named getIndicesBROKEN() and shall be removed when the codebase is updated to not call it llvm-svn: 1338 --- llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp index 853fe0f3108..d43e688dd76 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp +++ b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp @@ -118,7 +118,7 @@ FoldGetElemChain(const InstructionNode* getElemInstrNode, // Initialize return values from the incoming instruction Value* ptrVal = getElemInst->getPointerOperand(); - chainIdxVec = getElemInst->getIndices(); // copies index vector values + chainIdxVec = getElemInst->getIndicesBROKEN(); // copies index vector values // Now chase the chain of getElementInstr instructions, if any InstrTreeNode* ptrChild = getElemInstrNode->leftChild(); @@ -128,7 +128,7 @@ FoldGetElemChain(const InstructionNode* getElemInstrNode, // Child is a GetElemPtr instruction getElemInst = (MemAccessInst*) ((InstructionNode*) ptrChild)->getInstruction(); - const vector& idxVec = getElemInst->getIndices(); + const vector& idxVec = getElemInst->getIndicesBROKEN(); // Get the pointer value out of ptrChild and *prepend* its index vector ptrVal = getElemInst->getPointerOperand(); -- cgit v1.2.3