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

http://codereview.chromium.org/8334021/diff/1/src/hydrogen-instructions.cc#newcode791
src/hydrogen-instructions.cc:791: return HasNoUses()&& !IsBlockEntry() ?
NULL : this;
On 2011/10/19 07:24:41, Kevin Millikin wrote:
Missing a space before &&, also below.

Done.

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

http://codereview.chromium.org/8334021/diff/1/src/hydrogen.cc#newcode5798
src/hydrogen.cc:5798: ast_context()->ReturnControl(instr, expr->id());
On 2011/10/19 07:24:41, Kevin Millikin wrote:
I like the "return".  This function is (sort of) assumed to be called
in tail
position as part of translating an expression, so the return (sort of)
enforces
that.

Done. Personally I like returning void, too, it is just like any other
type IMHO. :-) But I had discussions about this in other places in the
past, so I removed it during my various attempts to get this function
right. Now it has made its glorious comeback...

http://codereview.chromium.org/8334021/

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

Reply via email to