Bug 126239 - Maybe DCE should free Phi nodes
Summary: Maybe DCE should free Phi nodes
Status: RESOLVED DUPLICATE of bug 143736
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
Depends on: 125523
  Show dependency treegraph
Reported: 2013-12-25 15:58 PST by Filip Pizlo
Modified: 2015-04-27 12:50 PDT (History)
7 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2013-12-25 15:58:04 PST
It probably doesn't matter, but it feels dirty to just leak them.

(The reason why it shouldn't matter is that the DFG region-allocates all nodes and frees them wholesale at the end.  But we currently mostly maintain the invariant that all allocated nodes are referenced from somewhere in the graph; only DCE doesn't do this.)
Comment 1 Filip Pizlo 2015-04-27 12:50:53 PDT

*** This bug has been marked as a duplicate of bug 143736 ***