Reviewers: Kevin Millikin, Description: Merge r8803 from the bleeding edge to 3.3 branch.
Check phi uses of the arguments object after redundant phies elimination. This allows to handle code like: var a = arguments; while (smth) a[i]; without bailout. Please review this at http://codereview.chromium.org/7562007/ SVN Base: http://v8.googlecode.com/svn/branches/3.3/ Affected files: M src/hydrogen.cc M src/version.cc Index: src/hydrogen.cc =================================================================== --- src/hydrogen.cc (revision 8803) +++ src/hydrogen.cc (working copy) @@ -2269,11 +2269,11 @@ graph()->OrderBlocks(); graph()->AssignDominators(); + graph()->EliminateRedundantPhis(); if (!graph()->CheckPhis()) { Bailout("Unsupported phi use of arguments object"); return NULL; } - graph()->EliminateRedundantPhis(); if (FLAG_eliminate_dead_phis) graph()->EliminateUnreachablePhis(); if (!graph()->CollectPhis()) { Bailout("Unsupported phi use of uninitialized constant"); Index: src/version.cc =================================================================== --- src/version.cc (revision 8803) +++ src/version.cc (working copy) @@ -35,7 +35,7 @@ #define MAJOR_VERSION 3 #define MINOR_VERSION 3 #define BUILD_NUMBER 10 -#define PATCH_LEVEL 25 +#define PATCH_LEVEL 26 // Use 1 for candidates and 0 otherwise. // (Boolean macro values are not supported by all preprocessors.) #define IS_CANDIDATE_VERSION 0 -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
