I was having trouble propagating type information through the inlining pass. The source nodes have types attached to them, and you can carefully copy it when instantiating each function body... but in some cases the inlined types should be more accurate than they are.
Easy solution, run the type solver on the node tree again!
This should also help find bugs in the inliner... if something passes muster the first pass, it should definitely go through after inlining.
Wednesday, November 18, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment