mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Minor method rename
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1119 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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<ConstPoolVal*>& idxVec = getElemInst->getIndexVec();
|
||||
const vector<ConstPoolVal*>& idxVec = getElemInst->getIndices();
|
||||
|
||||
// Get the pointer value out of ptrChild and *prepend* its index vector
|
||||
ptrVal = getElemInst->getPtrOperand();
|
||||
|
@@ -719,7 +719,7 @@ SetOperandsForMemInstr(MachineInstr* minstr,
|
||||
// The major work here is to extract these for all 3 instruction types
|
||||
// and then call the common function SetMemOperands_Internal().
|
||||
//
|
||||
const vector<ConstPoolVal*>* idxVec = & memInst->getIndexVec();
|
||||
const vector<ConstPoolVal*>* idxVec = &memInst->getIndices();
|
||||
vector<ConstPoolVal*>* newIdxVec = NULL;
|
||||
Value* ptrVal;
|
||||
Value* arrayOffsetVal = NULL;
|
||||
|
Reference in New Issue
Block a user