From: Vikram S. Adve Date: Mon, 14 Oct 2002 16:32:24 +0000 (+0000) Subject: Removed misleading const keyword. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=efc9433960357c9c828c2ad3c9950eb4efd96e3b;p=oota-llvm.git Removed misleading const keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4169 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/InstrSelectionSupport.h b/include/llvm/CodeGen/InstrSelectionSupport.h index 31ac3be9043..3e48b12e64e 100644 --- a/include/llvm/CodeGen/InstrSelectionSupport.h +++ b/include/llvm/CodeGen/InstrSelectionSupport.h @@ -53,7 +53,7 @@ int64_t GetConstantValueAsSignedInt (const Value *V, // Returns true/false in allConstantIndices if all indices are/aren't const. //--------------------------------------------------------------------------- -Value* GetMemInstArgs (const InstructionNode* memInstrNode, +Value* GetMemInstArgs (InstructionNode* memInstrNode, vector& idxVec, bool& allConstantIndices); diff --git a/lib/Target/SparcV9/SparcV9InstrSelection.cpp b/lib/Target/SparcV9/SparcV9InstrSelection.cpp index 35ec8716c5f..5195f4ac29f 100644 --- a/lib/Target/SparcV9/SparcV9InstrSelection.cpp +++ b/lib/Target/SparcV9/SparcV9InstrSelection.cpp @@ -938,7 +938,7 @@ CreateCodeForFixedSizeAlloca(const TargetMachine& target, static void SetOperandsForMemInstr(vector& mvec, - const InstructionNode* vmInstrNode, + InstructionNode* vmInstrNode, const TargetMachine& target) { Instruction* memInst = vmInstrNode->getInstruction();