The idea behind code templates is that you create a template with
dummy/placeholder objects with maps that are specific enough to uniquely
distinguish the object from others embedded in the code. When the template is instantiated, the code is copied, and these placeholder objects get replaced
with the "real" values needed by the specialized code template

What these two ReplaceNthObject mean is "find the first placeholder map (i.e. the first object that has the map "meta map") and replace it with the receiver
map, then find the first placeholder cell (i.e. the first object with the
cell_map) and replace it with the real cell we use.
Got it, thanks for explanation. LGTM.

https://codereview.chromium.org/16925008/

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