aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
authorRuchira Sasanka <sasanka@students.uiuc.edu>2001-10-16 16:36:34 +0000
committerRuchira Sasanka <sasanka@students.uiuc.edu>2001-10-16 16:36:34 +0000
commit618155f6c830af9b2abb587b6d1cb5bea3dcc4f9 (patch)
treeb3e7f07b5e4b79f682718fe6a31107d74ca35ce6 /include/llvm/CodeGen/MachineInstr.h
parent1b732fd0d628052be7709d393ced28980c0cd027 (diff)
downloadexternal_llvm-618155f6c830af9b2abb587b6d1cb5bea3dcc4f9.zip
external_llvm-618155f6c830af9b2abb587b6d1cb5bea3dcc4f9.tar.gz
external_llvm-618155f6c830af9b2abb587b6d1cb5bea3dcc4f9.tar.bz2
added initializing regNum to -1 in both constructors of MachineOperand
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@851 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index c6633e5..3b0966a 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -171,6 +171,7 @@ MachineOperand::MachineOperand(MachineOperandType operandType,
Value* _val)
: opType(operandType),
immedVal(0),
+ regNum(-1),
value(_val),
isDef(false)
{}