https://codereview.chromium.org/1157453002/diff/1/src/bootstrapper.cc
File src/bootstrapper.cc (right):

https://codereview.chromium.org/1157453002/diff/1/src/bootstrapper.cc#newcode1221
src/bootstrapper.cc:1221:
native_context()->set_js_map_map(js_map_fun->initial_map());
this doesn't work :-/

the prototype of the Map() function is overwritten in collection.js
which runs after this code.

if you built without a snapshot and create a Map via the C++ API, the
resulting object's __proto__ will be Object.prototype

you should store the function in the native context, and read the
initial map in ConfigureGlobalObjects

https://codereview.chromium.org/1157453002/

--
--
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/d/optout.

Reply via email to