https://codereview.chromium.org/21089006/diff/1/src/hydrogen-instructions.h
File src/hydrogen-instructions.h (right):
https://codereview.chromium.org/21089006/diff/1/src/hydrogen-instructions.h#newcode5281
src/hydrogen-instructions.h:5281: static Flags SetAllocationFlag(Flags
flags, Flags allocation_flag) {
On 2013/07/30 12:50:41, Michael Starzinger wrote:
As discussed offline: I don't like this helper very much, it just has
minor
advantages over manipulating the flags field by hand. IMHO the
DefaultFlags()
helper could instead take a PretenureFlag and already return the
correct flags.
This works everywhere expect for FastLiteral, for which we have other
plans
anyways.
I took that idea even further and made the HAllocate flags private and
internalized the allocation decisions.
https://codereview.chromium.org/21089006/diff/1/src/hydrogen-instructions.h#newcode5347
src/hydrogen-instructions.h:5347: static const int kAllocationFlagsMask
= 0x7;
On 2013/07/30 12:50:41, Michael Starzinger wrote:
Better compute this using the above three enum values, otherwise it
might become
out of sync.
Removed, not needed anymore
https://codereview.chromium.org/21089006/
--
--
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.