summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-10-30 20:38:49 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-10-30 20:38:49 +0000
commit601899d196db343670943285c8f989534710937e (patch)
treeb3f701b7fc5ea8ee16636f58f0f784a2e4da4a3c /include
parent8f211a4ab013d4a3324162b972a5b4d075cbd20e (diff)
downloadllvm-601899d196db343670943285c8f989534710937e.tar.gz
llvm-601899d196db343670943285c8f989534710937e.tar.bz2
llvm-601899d196db343670943285c8f989534710937e.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineCodeForInstruction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineCodeForInstruction.h b/include/llvm/CodeGen/MachineCodeForInstruction.h
index f4ec42dbf3..9894c94b10 100644
--- a/include/llvm/CodeGen/MachineCodeForInstruction.h
+++ b/include/llvm/CodeGen/MachineCodeForInstruction.h
@@ -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) {