Added support for x64 and ia32. This ended up being more complex than I hoped because on x64 I need to relocate the relative address call()'s once the code is placed at its final address. To do this, I need to enable the RelocInfoIterator to find the CODE_AGE_SEQUENCE relocinfo type at during Code::CopyFrom(), which means setting a couple of the code objects setters (set_prologue_offset() and
set_has_debug_break_slots()) before Code::CopyFrom() is called.

PTAL, happy to reevaluate if there is a better way of doing this.


https://codereview.chromium.org/23480031/diff/87001/src/objects.h
File src/objects.h (right):

https://codereview.chromium.org/23480031/diff/87001/src/objects.h#newcode5154
src/objects.h:5154: kPreAgedCodeAge = kQuinquagenarianCodeAge,
On 2013/09/26 16:29:06, danno wrote:
// This is probably clearer if it is kIsOldCodeAge - 1.

Done.

https://codereview.chromium.org/23480031/

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

Reply via email to