https://codereview.chromium.org/251493004/diff/1/src/hydrogen-escape-analysis.cc
File src/hydrogen-escape-analysis.cc (right):

https://codereview.chromium.org/251493004/diff/1/src/hydrogen-escape-analysis.cc#newcode202
src/hydrogen-escape-analysis.cc:202: if (representation.IsSmi()) {
On 2014/04/25 08:35:10, Michael Starzinger wrote:
Can we factor this out into a NewLoadReplacement helper (similar to
the
NewMapCheckAndInsert) to preserve readability of the giant
AnalyzeDataFlow
method?

Done.

https://codereview.chromium.org/251493004/diff/1/src/hydrogen-escape-analysis.cc#newcode212
src/hydrogen-escape-analysis.cc:212: load_value->id(),
load_value->Mnemonic());
On 2014/04/25 08:35:10, Michael Starzinger wrote:
nit: The logging should print the actual replacement IMHO.

Done.

https://codereview.chromium.org/251493004/diff/1/src/hydrogen-instructions.h
File src/hydrogen-instructions.h (left):

https://codereview.chromium.org/251493004/diff/1/src/hydrogen-instructions.h#oldcode1731
src/hydrogen-instructions.h:1731: private:
On 2014/04/25 08:35:10, Michael Starzinger wrote:
Let's keep this constructor private and use HForceRepresentation::New
instead,
that gives us implicit constant folding.

Done.

https://codereview.chromium.org/251493004/

--
--
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