Description[runtime] Migrate Object.create to C++.
There's no point in keeping the ObjectCreate JavaScript wrapper
function, which even does allocation site pretenuring for the
instances created via Object.create (where ObjectCreate itself is
the AllocationSite), and does not offer any sane way forward.
Instead introduce a new ObjectCreate C++ builtin, which currently
serves as a baseline implementation, on top of which we can think
about ways to optimize Object.create for the common case (i.e.
frameworks such as Ember.js make heavy use of Object.create).
R=cbruni@chromium.org
TBR=hpayer@chromium.org
Committed: https://crrev.com/6a51d31139500b8e4182bc8f0b3a942bdbc02d3e
Cr-Commit-Position: refs/heads/master@{#33061}
Patch Set 1 #Patch Set 2 : Fix length #
Total comments: 2
Patch Set 3 : Address Camillos comment. #
Messages
Total messages: 10 (3 generated)
|