llvm-6502/include
Chris Lattner a541b0fde2 Change CallGraphNode to maintain it's Function as an AssertingVH
for sanity.  This didn't turn up any bugs.

Change CallGraphNode to maintain its "callsite" information in the 
call edges list as a WeakVH instead of as an instruction*.  This fixes
a broad class of dangling pointer bugs, and makes CallGraph have a number
of useful invariants again.  This fixes the class of problem indicated
by PR4029 and PR3601.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80663 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-01 06:31:31 +00:00
..
llvm Change CallGraphNode to maintain it's Function as an AssertingVH 2009-09-01 06:31:31 +00:00
llvm-c Make sure we specify no arguments for context functions. 2009-08-30 23:38:06 +00:00