Revision: 17129
Author:   [email protected]
Date:     Thu Oct 10 09:35:35 2013 UTC
Log:      Use the new introduced block's reachable flag.

BUG=
[email protected]

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

Patch from Weiliang Lin <[email protected]>.
http://code.google.com/p/v8/source/detail?r=17129

Modified:
 /branches/bleeding_edge/src/hydrogen-instructions.cc

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Fri Oct 4 07:13:43 2013 UTC +++ /branches/bleeding_edge/src/hydrogen-instructions.cc Thu Oct 10 09:35:35 2013 UTC
@@ -4037,7 +4037,7 @@
   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 =

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to