Luke,

There's a clear separation between Heap and Factory. The former doesn't handle allocation failures and operates on raw pointers, the latter can trigger GC and
operates on handles. I think it's better to keep the separation. If you're
worried about performance implications just reintepret_cast<Heap*>(this) in
Factory methods.


Thanks,
Vitaly

http://codereview.chromium.org/2834002/show

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

Reply via email to