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

Issue 2690523003: [wasm] Use PC after EnsureSpace in RecordProtectedInstruction (Closed)

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

Description

[wasm] Use PC after EnsureSpace in RecordProtectedInstruction Previously we captured the PC before calling EnsureSpace in RecordProtectedInstruction. Sometimes EnsureSpace would resize and move the buffer, which would invalidate the previously captured PC and trip an assert when writing RelocInfo. With this change, we do not capture the PC until after we've ensured there's enough space, which ensures the PC will be valid. BUG= Review-Url: https://codereview.chromium.org/2690523003 Cr-Commit-Position: refs/heads/master@{#43202} Committed: https://chromium.googlesource.com/v8/v8/+/c9e83ebc3947aca22d024129963e1e7d25d804ac

Patch Set 1 #

Patch Set 2 : Rebasing #

Patch Set 3 : Rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -6 lines) Patch
M src/compiler/x64/code-generator-x64.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M src/x64/assembler-x64.h View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/assembler-x64.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (20 generated)
Eric Holk
3 years, 10 months ago (2017-02-10 22:21:36 UTC) #2
ahaas
lgtm
3 years, 10 months ago (2017-02-13 08:22:15 UTC) #3
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/2690523003/1
3 years, 10 months ago (2017-02-13 17:48:04 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel_ng/builds/16635) v8_mac_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-13 17:50:14 UTC) #7
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/2690523003/20001
3 years, 10 months ago (2017-02-14 00:45:22 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/34688)
3 years, 10 months ago (2017-02-14 00:48:14 UTC) #20
Eric Holk
3 years, 10 months ago (2017-02-14 00:50:30 UTC) #22
Mircea Trofin
On 2017/02/14 00:50:30, Eric Holk wrote: could you expand a motivation in the CL description? ...
3 years, 10 months ago (2017-02-14 04:52:56 UTC) #23
Eric Holk
On 2017/02/14 04:52:56, Mircea Trofin wrote: > On 2017/02/14 00:50:30, Eric Holk wrote: > > ...
3 years, 10 months ago (2017-02-14 18:28:22 UTC) #25
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/2690523003/40001
3 years, 10 months ago (2017-02-14 18:28:39 UTC) #28
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 19:11:08 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/c9e83ebc3947aca22d024129963e1e7d25d...

Powered by Google App Engine
This is Rietveld 408576698