diff options
author | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-10-16 16:36:34 +0000 |
---|---|---|
committer | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-10-16 16:36:34 +0000 |
commit | 618155f6c830af9b2abb587b6d1cb5bea3dcc4f9 (patch) | |
tree | b3e7f07b5e4b79f682718fe6a31107d74ca35ce6 /include/llvm/CodeGen/MachineInstr.h | |
parent | 1b732fd0d628052be7709d393ced28980c0cd027 (diff) | |
download | external_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.h | 1 |
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) {} |