Commit f964bad6 authored by Chris Lattner's avatar Chris Lattner Committed by jpienaar
Browse files

Implement a proper function list in module, which auto-maintain the parent

pointer, and ensure that functions are deleted when the module is destroyed.

This exposed the fact that MLFunction had no dtor, and that the dtor in
CFGFunction was broken with cyclic references.  Fix both of these problems.

PiperOrigin-RevId: 206051666
parent 50f89b41
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment