Commit 5e257075 authored by verwaest@chromium.org's avatar verwaest@chromium.org

Use the new introduced block's reachable flag.

BUG=
R=verwaest@chromium.org

Review URL: https://chromiumcodereview.appspot.com/26459002

Patch from Weiliang Lin <weiliang.lin2@gmail.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17129 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 7f5f106b
......@@ -4037,7 +4037,7 @@ Representation HValue::RepresentationFromUseRequirements() {
Representation rep = Representation::None();
for (HUseIterator it(uses()); !it.Done(); it.Advance()) {
// Ignore the use requirement from never run code
if (it.value()->block()->IsDeoptimizing()) continue;
if (it.value()->block()->IsUnreachable()) continue;
// We check for observed_input_representation elsewhere.
Representation use_rep =
......
Markdown is supported
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