From f42b65d8984fb4fd43531d98284feb038b1e3c6f Mon Sep 17 00:00:00 2001 From: Ruchira Sasanka Date: Tue, 16 Oct 2001 16:36:34 +0000 Subject: [PATCH] added initializing regNum to -1 in both constructors of MachineOperand llvm-svn: 851 --- llvm/include/llvm/CodeGen/MachineInstr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h index c6633e5ca1b0..3b0966a90ee9 100644 --- a/llvm/include/llvm/CodeGen/MachineInstr.h +++ b/llvm/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) {}