Adressed your comments. Will run bots once we have a good revision again.


https://codereview.chromium.org/612043003/diff/270001/src/compiler/simplified-lowering.cc
File src/compiler/simplified-lowering.cc (right):

https://codereview.chromium.org/612043003/diff/270001/src/compiler/simplified-lowering.cc#newcode364
src/compiler/simplified-lowering.cc:364: Node* is_smi =
jsgraph_->graph()->NewNode(
On 2014/10/15 13:03:17, Michael Starzinger wrote:
For posterity: There might be a more optimal lowering if the output
representation is determined to be kRepBit, but lets land it like this
for now.

Acknowledged.

https://codereview.chromium.org/612043003/diff/270001/src/compiler/simplified-lowering.cc#newcode382
src/compiler/simplified-lowering.cc:382: jsgraph_->machine()->Is32()
On 2014/10/15 13:03:17, Michael Starzinger wrote:
nit: There already should be IntLessThanOrEqual() shortcut for this.

Done.

https://codereview.chromium.org/612043003/diff/270001/src/compiler/simplified-lowering.cc#newcode872
src/compiler/simplified-lowering.cc:872: return VisitIsSmi(node);
On 2014/10/15 13:03:17, Michael Starzinger wrote:
Please move this into the section for simplified operators, we are in
the
section for machine operators here.

Also to be consistent with the rest of the code, the processing of
inputs and
setting of output type (i.e. the "VisitFoo" method family) should be
done
inline, whereas the actual lowering could be done in a helper (i.e.
the "DoFoo"
method familiy).

Done. Did not create DoIsSmi/DoIsNonNegativeSmi.

https://codereview.chromium.org/612043003/

--
--
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/d/optout.

Reply via email to