commit | ef8dae3f3db59a47c4fc6d994d5621806a47f579 | [log] [tgz] |
---|---|---|
author | Eric Holk <eholk@chromium.org> | Tue Feb 20 23:34:43 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 21 00:15:19 2018 |
tree | e7e971a56fdaf684e99f6f11dcc269b0e1c155ab | |
parent | d58d1fa72e6744d58558d2d516f779d13ff24da6 [diff] |
[wasm] [trap handler] do not leak memory on failure path There were two failure paths where the CodeProtectionInfo object would not be freed. This adds a free() on those paths to prevent a memory leak. Bug: v8:7434 Change-Id: I48d60aee3255d829bf39b51cc30fabaf76b1fb07 Reviewed-on: https://chromium-review.googlesource.com/927746 Reviewed-by: Brad Nelson <bradnelson@chromium.org> Commit-Queue: Eric Holk <eholk@chromium.org> Cr-Commit-Position: refs/heads/master@{#51408}
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.