Have the flow graph builder collect definitions.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 9 Mar 2010 09:56:19 +0000 (09:56 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 9 Mar 2010 09:56:19 +0000 (09:56 +0000)
commit3c0a0ba1e40ab25eb9d37773cf380cdf376784be
treea7b134b4b15d0847c0554df175e95c188df97362
parentcc9512f661bf1fd0350605a91dd7b9354e42f952
Have the flow graph builder collect definitions.

Before computing reaching definitions, the set of all definitions in a
function must be collected and they must be numbered.  Have the flow
graph builder collect definitions for stack-allocated variables into a
list, and implicitly number them with their list index.

Review URL: http://codereview.chromium.org/668257

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4064 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/data-flow.cc
src/data-flow.h