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

Issue 1763783003: [Interpreter] Fixes translation from bailout id to code offset. (Closed)

Created:
4 years, 9 months ago by mythria
Modified:
4 years, 9 months ago
Reviewers:
rmcilroy, Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Fixes translation from bailout id to code offset. BailoutId points to the next bytecode in the bytecode array. Code offset is set to one less than the bail out id. This would point to the end of the current instruction. Since we use it only for summarizing the frame and to compute the source position, it should be safe to set it to the end of current instruction. BUG=v8:4280, v8:4689 LOG=N Committed: https://crrev.com/01f603d2b28d7d7402a1ce468c7a6b1aeb69b9e9 Cr-Commit-Position: refs/heads/master@{#34580}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -8 lines) Patch
M src/deoptimizer.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/frames.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M test/mjsunit/mjsunit.status View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 28 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763783003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763783003/1
4 years, 9 months ago (2016-03-04 15:36:02 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-04 15:54:12 UTC) #4
mythria
Ross, This is not a proper fix. I just uploaded this to show you the ...
4 years, 9 months ago (2016-03-04 16:15:33 UTC) #6
rmcilroy
https://codereview.chromium.org/1763783003/diff/1/src/frames.cc File src/frames.cc (right): https://codereview.chromium.org/1763783003/diff/1/src/frames.cc#newcode1016 src/frames.cc:1016: code_offset = bailout_id.ToInt() - 1; On 2016/03/04 16:15:33, mythria ...
4 years, 9 months ago (2016-03-05 03:01:25 UTC) #8
Yang
On 2016/03/05 03:01:25, rmcilroy (Slow - Traveling) wrote: > https://codereview.chromium.org/1763783003/diff/1/src/frames.cc > File src/frames.cc (right): > ...
4 years, 9 months ago (2016-03-07 06:36:33 UTC) #9
Yang
On 2016/03/07 06:36:33, Yang wrote: > On 2016/03/05 03:01:25, rmcilroy (Slow - Traveling) wrote: > ...
4 years, 9 months ago (2016-03-07 09:27:58 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763783003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763783003/20001
4 years, 9 months ago (2016-03-08 11:32:01 UTC) #14
mythria
PTAL. Yang, I had an offline discussion with Ross, and we think it is ok ...
4 years, 9 months ago (2016-03-08 11:40:01 UTC) #15
Yang
On 2016/03/08 11:40:01, mythria wrote: > PTAL. > > Yang, > I had an offline ...
4 years, 9 months ago (2016-03-08 11:54:11 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 11:55:04 UTC) #18
rmcilroy
lgtm, thanks.
4 years, 9 months ago (2016-03-08 12:01:02 UTC) #19
mythria
Thanks for the review.
4 years, 9 months ago (2016-03-08 12:04:48 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763783003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763783003/20001
4 years, 9 months ago (2016-03-08 12:06:01 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-08 12:08:45 UTC) #26
commit-bot: I haz the power
4 years, 9 months ago (2016-03-08 12:09:20 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/01f603d2b28d7d7402a1ce468c7a6b1aeb69b9e9
Cr-Commit-Position: refs/heads/master@{#34580}

Powered by Google App Engine
This is Rietveld 408576698