Add JSGraph::GetCachedNodes and NodeCache::GetCachedNodes. These routines are necessa...
authortitzer@chromium.org <titzer@chromium.org>
Wed, 15 Oct 2014 12:29:39 +0000 (12:29 +0000)
committertitzer@chromium.org <titzer@chromium.org>
Wed, 15 Oct 2014 12:29:39 +0000 (12:29 +0000)
commit754abff699b0e3dd2a4df6abcb29fde9035e48a6
tree06c0a54bb59afe36fb1ba9e6b3b74e07fc35584c
parent23868b419c1ad10f5db5e3df1df08ee23e382e3d
Add JSGraph::GetCachedNodes and NodeCache::GetCachedNodes. These routines are necessary in the dead code elimination phase to trim away uses from unreachable nodes.

R=bmeurer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/656103002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24632 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler/common-node-cache.h
src/compiler/js-graph.cc
src/compiler/js-graph.h
src/compiler/node-cache.cc
src/compiler/node-cache.h
test/cctest/compiler/test-js-constant-cache.cc
test/cctest/compiler/test-node-cache.cc