[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineCodeForInstruction.h

Vikram Adve vadve at cs.uiuc.edu
Wed Oct 30 14:39:06 PST 2002


Changes in directory llvm/include/llvm/CodeGen:

MachineCodeForInstruction.h updated: 1.6 -> 1.7

---
Log message:

Bug fix: need to initialize new CallArgsDescriptor pointer.


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/MachineCodeForInstruction.h
diff -u llvm/include/llvm/CodeGen/MachineCodeForInstruction.h:1.6 llvm/include/llvm/CodeGen/MachineCodeForInstruction.h:1.7
--- llvm/include/llvm/CodeGen/MachineCodeForInstruction.h:1.6	Tue Oct 29 13:38:46 2002
+++ llvm/include/llvm/CodeGen/MachineCodeForInstruction.h	Wed Oct 30 14:38:49 2002
@@ -32,7 +32,7 @@
   std::vector<MachineInstr*> Contents;  // the machine instr for this VM instr
   CallArgsDescriptor* callArgsDesc;     // only used for CALL instructions
 public:
-  MachineCodeForInstruction() : Annotation(MCFI_AID) {}
+  MachineCodeForInstruction() : Annotation(MCFI_AID), callArgsDesc(NULL) {}
   ~MachineCodeForInstruction();
   
   static MachineCodeForInstruction &get(const Instruction *I) {





More information about the llvm-commits mailing list