From 5e25707540ee14326c755040f22a4358a89481d4 Mon Sep 17 00:00:00 2001 From: "verwaest@chromium.org" Date: Thu, 10 Oct 2013 09:35:35 +0000 Subject: [PATCH] Use the new introduced block's reachable flag. BUG= R=verwaest@chromium.org Review URL: https://chromiumcodereview.appspot.com/26459002 Patch from Weiliang Lin . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17129 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/hydrogen-instructions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc index e16bb22957..31630d1411 100644 --- a/src/hydrogen-instructions.cc +++ b/src/hydrogen-instructions.cc @@ -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 =