Removed misleading const keyword.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 14 Oct 2002 16:32:24 +0000 (16:32 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 14 Oct 2002 16:32:24 +0000 (16:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4169 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/InstrSelectionSupport.h
lib/Target/SparcV9/SparcV9InstrSelection.cpp

index 31ac3be9043a832d6e1a68193176c8db1a2a9031..3e48b12e64ef1733fe98d56e8a5e29c05ea0409c 100644 (file)
@@ -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);
 
index 35ec8716c5f6a78a686c5850eb211b2e90476ed0..5195f4ac29faef839c3603f35fff817e89f62238 100644 (file)
@@ -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();