diff options
Diffstat (limited to 'lib/Analysis/DataStructure/Local.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/Local.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp index 0d6046d13d..e45cdcbed8 100644 --- a/lib/Analysis/DataStructure/Local.cpp +++ b/lib/Analysis/DataStructure/Local.cpp @@ -84,7 +84,7 @@ namespace { private: // Visitor functions, used to handle each instruction type we encounter... friend class InstVisitor<GraphBuilder>; - void visitMallocInst(MallocInst &MI) { handleAlloc(MI, DSNode::NewNode); } + void visitMallocInst(MallocInst &MI) { handleAlloc(MI, DSNode::HeapNode); } void visitAllocaInst(AllocaInst &AI) { handleAlloc(AI, DSNode::AllocaNode);} void handleAlloc(AllocationInst &AI, DSNode::NodeTy NT); |