summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2003-07-10 19:46:15 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2003-07-10 19:46:15 +0000
commite2e50f28804ce4a5ae334299da69f105b648b92d (patch)
treedc6d212e0138e65470873ed70b0c4600f09bdff1 /llvm/lib
parentabf331db030cf08705bbe83c52dafd1cf1a4dc36 (diff)
downloadbcm5719-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.cpp4
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);
OpenPOWER on IntegriCloud