https://codereview.chromium.org/22378003/diff/15001/src/hydrogen-instructions.cc
File src/hydrogen-instructions.cc (right):
https://codereview.chromium.org/22378003/diff/15001/src/hydrogen-instructions.cc#newcode3339
src/hydrogen-instructions.cc:3339:
On 2013/08/06 12:24:12, titzer wrote:
This method is getting pretty big; suggest pulling out the bodies of
various
if's into their own helper methods. Also a helper to create an int32
constant
and insert it after a particular instruction would probably help clean
this up a
lot.
Done.
https://codereview.chromium.org/22378003/diff/15001/src/hydrogen-instructions.cc#newcode3394
src/hydrogen-instructions.cc:3394:
HConstant::cast(dominator_free_space_size)->GetInteger32Constant();
On 2013/08/06 12:24:12, titzer wrote:
I think this cast is redundant.
Done.
https://codereview.chromium.org/22378003/diff/15001/src/hydrogen-instructions.h
File src/hydrogen-instructions.h (right):
https://codereview.chromium.org/22378003/diff/15001/src/hydrogen-instructions.h#newcode5055
src/hydrogen-instructions.h:5055: void
set_dominating_allocate(HAllocate* allocate) {
On 2013/08/06 12:24:12, titzer wrote:
Don't add setters for fields that should not be modified outside the
class.
I made all setters and getters used just by HAllocate private.
https://codereview.chromium.org/22378003/
--
--
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/groups/opt_out.