aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-10-14 16:32:24 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-10-14 16:32:24 +0000
commitefc9433960357c9c828c2ad3c9950eb4efd96e3b (patch)
tree1c70256cd673d85d8d01234cddddef53f6ea715f
parentcf911de3c61db9291e9338f09b435e9a4868c2de (diff)
Removed misleading const keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4169 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/InstrSelectionSupport.h2
-rw-r--r--lib/Target/SparcV9/SparcV9InstrSelection.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/InstrSelectionSupport.h b/include/llvm/CodeGen/InstrSelectionSupport.h
index 31ac3be904..3e48b12e64 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<Value*>& idxVec,
bool& allConstantIndices);
diff --git a/lib/Target/SparcV9/SparcV9InstrSelection.cpp b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
index 35ec8716c5..5195f4ac29 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<MachineInstr*>& mvec,
- const InstructionNode* vmInstrNode,
+ InstructionNode* vmInstrNode,
const TargetMachine& target)
{
Instruction* memInst = vmInstrNode->getInstruction();