[llvm-commits] CVS: llvm/lib/CodeGen/MachineInstrAnnot.cpp

Vikram Adve vadve at cs.uiuc.edu
Thu Jul 10 14:47:05 PDT 2003


Changes in directory llvm/lib/CodeGen:

MachineInstrAnnot.cpp updated: 1.7 -> 1.8

---
Log message:

Values stored in CallArgsDescriptor cannot be const.


---
Diffs of the changes:

Index: llvm/lib/CodeGen/MachineInstrAnnot.cpp
diff -u llvm/lib/CodeGen/MachineInstrAnnot.cpp:1.7 llvm/lib/CodeGen/MachineInstrAnnot.cpp:1.8
--- llvm/lib/CodeGen/MachineInstrAnnot.cpp:1.7	Wed Jan 15 13:47:12 2003
+++ llvm/lib/CodeGen/MachineInstrAnnot.cpp	Thu Jul 10 14:46:15 2003
@@ -12,7 +12,7 @@
 #include "llvm/Type.h"
 
 
-CallArgsDescriptor::CallArgsDescriptor(const CallInst* _callInstr,
+CallArgsDescriptor::CallArgsDescriptor(CallInst* _callInstr,
                                        TmpInstruction* _retAddrReg,
                                        bool _isVarArgs, bool _noPrototype)
   : callInstr(_callInstr),
@@ -35,7 +35,7 @@
 }
 
 
-const CallInst*
+CallInst*
 CallArgsDescriptor::getReturnValue() const
 {
   return (callInstr->getType() == Type::VoidTy? NULL : callInstr);





More information about the llvm-commits mailing list