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

Issue 2708743003: [wasm] Remove remaining occurences of the context in wasm code (Closed)

Created:
3 years, 10 months ago by Clemens Hammacher
Modified:
3 years, 10 months ago
Reviewers:
titzer
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Remove remaining occurences of the context in wasm code The only remaining allowed occurence of a context is in WASM_TO_JS code, which is regenerated for each instance. This CL removes all the rest, to avoid subtle bugs where we might forget to patch it. By renaming the BuildCallToRuntime method, we make sure that noone accidentially calls the version which embeds a context. For consistency, I even remove it from the WasmRunInterpreter stub, which is never reused for new instantiations. R=titzer@chromium.org Review-Url: https://codereview.chromium.org/2708743003 Cr-Commit-Position: refs/heads/master@{#43409} Committed: https://chromium.googlesource.com/v8/v8/+/e0e8b2a2f2370363aa6a502e28acca193bd037cf

Patch Set 1 #

Patch Set 2 : Remove unused variables #

Total comments: 2

Patch Set 3 : Fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -54 lines) Patch
M src/compiler/wasm-compiler.cc View 1 2 13 chunks +46 lines, -52 lines 0 comments Download
M src/runtime/runtime-wasm.cc View 1 2 3 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
Clemens Hammacher
3 years, 10 months ago (2017-02-20 20:41:13 UTC) #9
Clemens Hammacher
Ping
3 years, 10 months ago (2017-02-24 09:03:15 UTC) #10
titzer
lgtm with comment nit https://codereview.chromium.org/2708743003/diff/20001/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2708743003/diff/20001/src/compiler/wasm-compiler.cc#newcode70 src/compiler/wasm-compiler.cc:70: // Do only call this ...
3 years, 10 months ago (2017-02-24 09:06:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2708743003/40001
3 years, 10 months ago (2017-02-24 09:57:15 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/v8/v8/+/e0e8b2a2f2370363aa6a502e28acca193bd037cf
3 years, 10 months ago (2017-02-24 09:59:29 UTC) #21
Clemens Hammacher
3 years, 10 months ago (2017-02-24 10:00:41 UTC) #22
Message was sent while issue was closed.
https://codereview.chromium.org/2708743003/diff/20001/src/compiler/wasm-compi...
File src/compiler/wasm-compiler.cc (right):

https://codereview.chromium.org/2708743003/diff/20001/src/compiler/wasm-compi...
src/compiler/wasm-compiler.cc:70: // Do only call this function for code which
is not reused across
On 2017/02/24 at 09:06:06, titzer wrote:
> s/Do only/Only/

Done.

Powered by Google App Engine
This is Rietveld 408576698