aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineInstrAnnot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/MachineInstrAnnot.cpp')
-rw-r--r--lib/CodeGen/MachineInstrAnnot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineInstrAnnot.cpp b/lib/CodeGen/MachineInstrAnnot.cpp
index 7f93753ccd..419e10ecd3 100644
--- a/lib/CodeGen/MachineInstrAnnot.cpp
+++ b/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);