commit | 50f223e47eafdf4fccc0108b03affca9e3d892b1 | [log] [tgz] |
---|---|---|
author | bmeurer <bmeurer@chromium.org> | Fri Aug 12 08:59:20 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Aug 12 08:59:30 2016 |
tree | 4951ca85c5f6089aa69c6f48011f76513b3d8ac8 | |
parent | e9b4d57eff8af0f63eb4ce368b6b46c840309a42 [diff] |
[turbofan] Add inlined Array.prototype.push support. This adds a very first version of inlined Array.prototype.push into TurboFan optimized code. The current inlined version has a potential deopt loop, but it's unlikely that we hit it currently (Crankshaft suffers from an even worse problem). Once we have a way to learn from deopts we can fix this deopt loops. It's also probably overly defensive in when it's safe to inline the call to Array.prototype.push, but we can always extend that later once we have sufficient trust in the implementation and see an actual need to extend it. BUG=v8:2229,v8:3952,v8:5267 R=jarin@chromium.org Review-Url: https://codereview.chromium.org/2245533003 Cr-Commit-Position: refs/heads/master@{#38603}
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.