Bug fix: need to initialize new CallArgsDescriptor pointer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve
2002-10-30 20:38:49 +00:00
parent 8f211a4ab0
commit 601899d196
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class MachineCodeForInstruction : public Annotation {
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) {