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

Issue 2738683003: [wasm][arm] Emit MaybeCheckConstPool in the trap code generation (Closed)

Created:
3 years, 9 months ago by ahaas
Modified:
3 years, 9 months ago
Reviewers:
Benedikt Meurer, v8-arm-ports, jbramley
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm][arm] Emit MaybeCheckConstPool in the trap code generation Without the check it happened that the builtin call in the trap code was too far away from the constant pool and therefore crashed. BUG=v8:6054 R=bmeurer@chromium.org, v8-arm-ports@googlegroups.com Review-Url: https://codereview.chromium.org/2738683003 Cr-Commit-Position: refs/heads/master@{#43928} Committed: https://chromium.googlesource.com/v8/v8/+/ab97fd76effb4c2075b35f61a7806311c21a5bea

Patch Set 1 #

Total comments: 1

Patch Set 2 : Change the comment. #

Patch Set 3 : Check the constant pool in the macro assembler #

Patch Set 4 : Test added #

Patch Set 5 : Move MaybeCheckConstPool and always call it. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -5 lines) Patch
M src/arm/macro-assembler-arm.cc View 1 2 3 4 2 chunks +4 lines, -5 lines 0 comments Download
A test/mjsunit/regress/wasm/regression-6054.js View 1 2 3 1 chunk +342 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (27 generated)
ahaas
3 years, 9 months ago (2017-03-07 14:19:04 UTC) #1
Benedikt Meurer
lgtm
3 years, 9 months ago (2017-03-07 14:23:16 UTC) #4
jbramley
https://codereview.chromium.org/2738683003/diff/1/src/compiler/arm/code-generator-arm.cc File src/compiler/arm/code-generator-arm.cc (right): https://codereview.chromium.org/2738683003/diff/1/src/compiler/arm/code-generator-arm.cc#newcode2139 src/compiler/arm/code-generator-arm.cc:2139: __ MaybeCheckConstPool(); What is special about this location? I ...
3 years, 9 months ago (2017-03-07 14:24:08 UTC) #6
ahaas
On 2017/03/07 at 14:24:08, jacob.bramley wrote: > https://codereview.chromium.org/2738683003/diff/1/src/compiler/arm/code-generator-arm.cc > File src/compiler/arm/code-generator-arm.cc (right): > > https://codereview.chromium.org/2738683003/diff/1/src/compiler/arm/code-generator-arm.cc#newcode2139 ...
3 years, 9 months ago (2017-03-07 14:36:04 UTC) #7
ahaas
On 2017/03/07 at 14:36:04, ahaas wrote: > On 2017/03/07 at 14:24:08, jacob.bramley wrote: > > ...
3 years, 9 months ago (2017-03-07 14:38:30 UTC) #8
jbramley
On 2017/03/07 14:36:04, ahaas wrote: > On 2017/03/07 at 14:24:08, jacob.bramley wrote: > > > ...
3 years, 9 months ago (2017-03-07 14:43:10 UTC) #9
ahaas
On 2017/03/07 at 14:43:10, jacob.bramley wrote: > On 2017/03/07 14:36:04, ahaas wrote: > > On ...
3 years, 9 months ago (2017-03-07 14:47:27 UTC) #10
jbramley
On 2017/03/07 14:47:27, ahaas wrote: > I think the constant pool is blocked here: > ...
3 years, 9 months ago (2017-03-07 15:01:33 UTC) #13
ahaas
On 2017/03/07 at 15:01:33, jacob.bramley wrote: > On 2017/03/07 14:47:27, ahaas wrote: > > I ...
3 years, 9 months ago (2017-03-07 17:58:16 UTC) #22
jbramley
Hmm. The operation at the call site is now less clear because we just pass ...
3 years, 9 months ago (2017-03-08 11:00:30 UTC) #27
ahaas
On 2017/03/08 at 11:00:30, jacob.bramley wrote: > Hmm. The operation at the call site is ...
3 years, 9 months ago (2017-03-17 12:56:10 UTC) #32
jbramley
Perfect, thanks! LGTM
3 years, 9 months ago (2017-03-17 12:58:42 UTC) #33
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/2738683003/80001
3 years, 9 months ago (2017-03-17 16:15:19 UTC) #36
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/2738683003/80001
3 years, 9 months ago (2017-03-20 09:11:14 UTC) #39
commit-bot: I haz the power
3 years, 9 months ago (2017-03-20 09:52:13 UTC) #42
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/v8/v8/+/ab97fd76effb4c2075b35f61a7806311c21...

Powered by Google App Engine
This is Rietveld 408576698