Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Issue 2709613008: Merged: [wasm] Embedder can control what buffers wasm compilation works on. (Closed)

Created:
3 years, 10 months ago by bradnelson
Modified:
3 years, 10 months ago
CC:
v8-reviews_googlegroups.com, v8-merges_googlegroups.com, Paweł Hajdan Jr., ulan
Target Ref:
refs/pending/branch-heads/5.7
Project:
v8
Visibility:
Public.

Description

Merged: [wasm] Embedder can control what buffers wasm compilation works on. Revision: b40d44ecc1ea662ea6d30d703cf1820cea9ee190 BUG=v8:5981 LOG=N NOTRY=true NOPRESUBMIT=true NOTREECHECKS=true R=mtrofin@chromium.org Review-Url: https://codereview.chromium.org/2709613008 . Cr-Commit-Position: refs/branch-heads/5.7@{#130} Cr-Branched-From: 975e9a320b6eaf9f12280c35df98e013beb8f041-refs/heads/5.7.492@{#1} Cr-Branched-From: 8d76f0e3465a84bbf0bceab114900fbe75844e1f-refs/heads/master@{#42426} Committed: https://chromium.googlesource.com/v8/v8/+/b98b2190bf24960388760146c771fa94b4860ac0

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -0 lines) Patch
M include/v8.h View 2 chunks +25 lines, -0 lines 0 comments Download
M src/api.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M src/isolate.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/runtime/runtime-test.cc View 2 chunks +59 lines, -0 lines 0 comments Download
M src/wasm/wasm-js.cc View 8 chunks +126 lines, -0 lines 2 comments Download
A test/mjsunit/wasm/test-wasm-compilation-control.js View 1 chunk +118 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
bradnelson
3 years, 10 months ago (2017-02-22 22:21:31 UTC) #1
bradnelson
NOTE: This script will no longer automatically update include/v8-version.h and create a tag. This is ...
3 years, 10 months ago (2017-02-22 22:21:33 UTC) #2
Mircea Trofin
On 2017/02/22 22:21:33, bradnelson wrote: > NOTE: This script will no longer automatically update include/v8-version.h ...
3 years, 10 months ago (2017-02-22 22:22:59 UTC) #3
bradnelson
Committed patchset #1 (id:1) manually as b98b2190bf24960388760146c771fa94b4860ac0.
3 years, 10 months ago (2017-02-22 22:23:51 UTC) #5
JaideepBajwa
Hi, When building with make/gyp the compiler emits error "error: unused variable 'bytes'" and fails. ...
3 years, 10 months ago (2017-02-25 05:13:57 UTC) #7
Mircea Trofin
On 2017/02/25 05:13:57, JaideepBajwa wrote: > Hi, > When building with make/gyp the compiler emits ...
3 years, 10 months ago (2017-02-25 05:29:33 UTC) #8
JaideepBajwa
3 years, 10 months ago (2017-02-26 03:24:47 UTC) #9
Message was sent while issue was closed.
On 2017/02/25 05:29:33, Mircea Trofin wrote:
> On 2017/02/25 05:13:57, JaideepBajwa wrote:
> > Hi,
> > When building with make/gyp the compiler emits error "error: unused variable
> > 'bytes'" and fails. This will cause projects like nodejs which uses make/gyp
> to
> > build v8 to fail.
> > Is is possible to reland this CL with USE(bytes)?
> > Master has https://codereview.chromium.org/2695813005/ which is using bytes
so
> > only affecting 5.7.
> > Thank you.
> > 
> > https://codereview.chromium.org/2709613008/diff/1/src/wasm/wasm-js.cc
> > File src/wasm/wasm-js.cc (right):
> > 
> >
>
https://codereview.chromium.org/2709613008/diff/1/src/wasm/wasm-js.cc#newcode250
> > src/wasm/wasm-js.cc:250: auto bytes = GetFirstArgumentAsBytes(args,
&thrower);
> > USE(bytes);
> > to suppress compiler unused variable warning
> > 
> >
>
https://codereview.chromium.org/2709613008/diff/1/src/wasm/wasm-js.cc#newcode296
> > src/wasm/wasm-js.cc:296: auto bytes = GetFirstArgumentAsBytes(args,
&thrower);
> > USE(bytes);
> > to suppress compiler unused variable warning
> 
> What would be the preferred way to go about this, should we submit a patch
just
> in 5.7?
Backporting from master won't apply in this case so if patching just 5.7
is acceptable then I've created a patch
https://codereview.chromium.org/2713403002.

Powered by Google App Engine
This is Rietveld 408576698