diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2003-07-10 19:46:15 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2003-07-10 19:46:15 +0000 |
commit | e2e50f28804ce4a5ae334299da69f105b648b92d (patch) | |
tree | dc6d212e0138e65470873ed70b0c4600f09bdff1 /llvm/lib | |
parent | abf331db030cf08705bbe83c52dafd1cf1a4dc36 (diff) | |
download | bcm5719-llvm-e2e50f28804ce4a5ae334299da69f105b648b92d.tar.gz bcm5719-llvm-e2e50f28804ce4a5ae334299da69f105b648b92d.zip |
Values stored in CallArgsDescriptor cannot be const.
llvm-svn: 7156
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/MachineInstrAnnot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineInstrAnnot.cpp b/llvm/lib/CodeGen/MachineInstrAnnot.cpp index 7f93753ccdf..419e10ecd31 100644 --- a/llvm/lib/CodeGen/MachineInstrAnnot.cpp +++ b/llvm/lib/CodeGen/MachineInstrAnnot.cpp @@ -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 @@ CallArgsDescriptor::CallArgsDescriptor(const CallInst* _callInstr, } -const CallInst* +CallInst* CallArgsDescriptor::getReturnValue() const { return (callInstr->getType() == Type::VoidTy? NULL : callInstr); |