LGTM.

http://codereview.chromium.org/7553006/diff/1/src/hydrogen.cc
File src/hydrogen.cc (right):

http://codereview.chromium.org/7553006/diff/1/src/hydrogen.cc#newcode2315
src/hydrogen.cc:2315: Bailout("Unsupported phi-use");
1.  There should be a unique bailout reason (to distinguish from the
later one), I suggest "Unsupported phi use of arguments object" here and
"Unsupported phi use of uninitialized constant" later.

2. You could consider moving the calls to Bailout into the
CheckPhis/CollectPhis functions, make them void functions, and call them
like:

graph()->CheckPhis();
if (HasStackOverflow()) return NULL;

I'm not sure if I like that better.  What do you think?

http://codereview.chromium.org/7553006/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to