From efc9433960357c9c828c2ad3c9950eb4efd96e3b Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Mon, 14 Oct 2002 16:32:24 +0000 Subject: [PATCH] Removed misleading const keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4169 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/InstrSelectionSupport.h | 2 +- lib/Target/SparcV9/SparcV9InstrSelection.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();