aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-02-10 00:41:49 +0000
committerDale Johannesen <dalej@apple.com>2010-02-10 00:41:49 +0000
commit9653f9ec970147a12216d787078eab2f8b9c122a (patch)
treeb49955fb580d864d121d0f9c02172623b8f4c0bf /include/llvm
parent8e089a9e4d6b7aa2b3968c38644f926f60a7c670 (diff)
downloadexternal_llvm-9653f9ec970147a12216d787078eab2f8b9c122a.tar.gz
external_llvm-9653f9ec970147a12216d787078eab2f8b9c122a.tar.bz2
external_llvm-9653f9ec970147a12216d787078eab2f8b9c122a.zip
Add isDebug argument to ChangeToRegister; this prevents
the field from being used uninitialized later in some cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/CodeGen/MachineOperand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineOperand.h b/include/llvm/CodeGen/MachineOperand.h
index 72f8775a26..0bb6d7d3b5 100644
--- a/include/llvm/CodeGen/MachineOperand.h
+++ b/include/llvm/CodeGen/MachineOperand.h
@@ -379,7 +379,7 @@ public:
/// the setReg method should be used.
void ChangeToRegister(unsigned Reg, bool isDef, bool isImp = false,
bool isKill = false, bool isDead = false,
- bool isUndef = false);
+ bool isUndef = false, bool isDebug = false);
//===--------------------------------------------------------------------===//
// Construction methods.