From 33d9cb990365f9ab0b131a65a13ed0838bd0a316 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 4 Nov 2001 08:08:34 +0000 Subject: Minor method rename llvm-svn: 1119 --- llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp') diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp index 400d5948d4f..88fd4a41386 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->getPtrOperand(); - chainIdxVec = getElemInst->getIndexVec(); // copies index vector values + chainIdxVec = getElemInst->getIndices(); // 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->getIndexVec(); + const vector& idxVec = getElemInst->getIndices(); // Get the pointer value out of ptrChild and *prepend* its index vector ptrVal = getElemInst->getPtrOperand(); -- cgit v1.2.3