| commit | 9feab2d208f0cd16cee4a11e0ba3bebb8cf71179 | [log] [tgz] |
|---|---|---|
| author | verwaest <verwaest@chromium.org> | Mon Oct 03 17:21:00 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Mon Oct 03 17:21:20 2016 |
| tree | 4f90f78167c0335d7a06e5205c7c64af3f213ae0 | |
| parent | 660d11a217855f9704dacc106bbda46a249c2b77 [diff] |
Mark param as used when we force context allocation due to implement access through arguments Currently the parameter is first parsed as a reference, and then translated into a parameter. The reference stays around though, and gets resolved to the parameter. That automatically creates a use. Now that I drop all unresolved references when we abort preparsing, that also drops the unresolved reference. Instead, mark the variable as used when its marked as forced context allocation. That's what happens in almost all other cases. This raises the question: does it really make sense to parse parameters this ways? It seems pretty generic, but neither fast nor memory-efficient ... Did I misunderstand something? Just land if you think the CL looks good as is. BUG=chromium:651613 Review-Url: https://codereview.chromium.org/2386623002 Cr-Commit-Position: refs/heads/master@{#39935}
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.