Changes in directory llvm/include/llvm/CodeGen:
MachineInstr.h updated: 1.185 -> 1.186 --- Log message: Initialize IsDef of all non-register MachineOperand to false. --- Diffs of the changes: (+7 -0) MachineInstr.h | 7 +++++++ 1 files changed, 7 insertions(+) Index: llvm/include/llvm/CodeGen/MachineInstr.h diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.185 llvm/include/llvm/CodeGen/MachineInstr.h:1.186 --- llvm/include/llvm/CodeGen/MachineInstr.h:1.185 Mon Sep 4 21:31:13 2006 +++ llvm/include/llvm/CodeGen/MachineInstr.h Tue Sep 5 13:56:02 2006 @@ -295,6 +295,7 @@ void addImmOperand(int64_t Val) { MachineOperand &Op = AddNewOperand(); Op.opType = MachineOperand::MO_Immediate; + Op.IsDef = false; Op.contents.immedVal = Val; Op.offset = 0; } @@ -302,6 +303,7 @@ void addMachineBasicBlockOperand(MachineBasicBlock *MBB) { MachineOperand &Op = AddNewOperand(); Op.opType = MachineOperand::MO_MachineBasicBlock; + Op.IsDef = false; Op.contents.MBB = MBB; Op.offset = 0; } @@ -311,6 +313,7 @@ void addFrameIndexOperand(unsigned Idx) { MachineOperand &Op = AddNewOperand(); Op.opType = MachineOperand::MO_FrameIndex; + Op.IsDef = false; Op.contents.immedVal = Idx; Op.offset = 0; } @@ -321,6 +324,7 @@ void addConstantPoolIndexOperand(unsigned Idx, int Offset) { MachineOperand &Op = AddNewOperand(); Op.opType = MachineOperand::MO_ConstantPoolIndex; + Op.IsDef = false; Op.contents.immedVal = Idx; Op.offset = Offset; } @@ -331,6 +335,7 @@ void addJumpTableIndexOperand(unsigned Idx) { MachineOperand &Op = AddNewOperand(); Op.opType = MachineOperand::MO_JumpTableIndex; + Op.IsDef = false; Op.contents.immedVal = Idx; Op.offset = 0; } @@ -338,6 +343,7 @@ void addGlobalAddressOperand(GlobalValue *GV, int Offset) { MachineOperand &Op = AddNewOperand(); Op.opType = MachineOperand::MO_GlobalAddress; + Op.IsDef = false; Op.contents.GV = GV; Op.offset = Offset; } @@ -347,6 +353,7 @@ void addExternalSymbolOperand(const char *SymName) { MachineOperand &Op = AddNewOperand(); Op.opType = MachineOperand::MO_ExternalSymbol; + Op.IsDef = false; Op.contents.SymbolName = SymName; Op.offset = 0; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits