commit | 6a51d31139500b8e4182bc8f0b3a942bdbc02d3e | [log] [tgz] |
---|---|---|
author | bmeurer <bmeurer@chromium.org> | Wed Dec 30 14:16:04 2015 |
committer | Commit bot <commit-bot@chromium.org> | Wed Dec 30 14:16:17 2015 |
tree | f77cd6d910b4f14508cbcebc7b2445511d685eb0 | |
parent | 5a49eb015b5babfc5d351d537b919cd38f6cba6c [diff] |
[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 Review URL: https://codereview.chromium.org/1558433002 Cr-Commit-Position: refs/heads/master@{#33061}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://github.com/v8/v8/wiki
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*
Please follow the instructions mentioned on the V8 wiki.