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

Issue 2048203002: [interpreter] Minor clean-up of BytecodeSourceInfo. (Closed)

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

Description

[interpreter] Minor clean-up of BytecodeSourceInfo. Add explicit state in BytecodeSourceInfo to simplify checks for validity and whether a statement or expression position. Remove BytecodeSourceInfo::Update which inherited rules for updating source position information during bytecode building. BUG=v8:4280 LOG=N Committed: https://crrev.com/303d340f669a8521708357432bfe2cb368d42b2f Cr-Commit-Position: refs/heads/master@{#37136}

Patch Set 1 #

Patch Set 2 : Update tests. #

Patch Set 3 : Nit. #

Patch Set 4 : Rebase #

Patch Set 5 : Minor tweak to StackCheck emission. #

Patch Set 6 : Rebase #

Patch Set 7 : Fix for test failures. #

Patch Set 8 : Add BytecodeSourceInfo::ForceExpressionPosition(). #

Total comments: 4

Patch Set 9 : Incorporate review comments. #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -76 lines) Patch
M src/interpreter/bytecode-array-builder.cc View 1 2 3 4 5 6 7 8 3 chunks +17 lines, -14 lines 0 comments Download
M src/interpreter/bytecode-peephole-optimizer.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M src/interpreter/bytecode-pipeline.h View 1 2 3 4 5 6 7 8 1 chunk +64 lines, -14 lines 0 comments Download
M src/interpreter/bytecode-pipeline.cc View 1 2 3 1 chunk +0 lines, -20 lines 0 comments Download
M src/interpreter/bytecode-register-optimizer.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -2 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-writer-unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M test/unittests/interpreter/bytecode-peephole-optimizer-unittest.cc View 1 2 3 9 chunks +11 lines, -11 lines 0 comments Download
M test/unittests/interpreter/bytecode-pipeline-unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +11 lines, -10 lines 0 comments Download
M test/unittests/interpreter/bytecode-register-optimizer-unittest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (5 generated)
oth
Ross, PTAL at this attempt to retire BytecodeSourceInfo::Update(), thanks.
4 years, 6 months ago (2016-06-09 17:57:24 UTC) #3
oth
On 2016/06/09 17:57:24, oth wrote: > Ross, PTAL at this attempt to retire BytecodeSourceInfo::Update(), thanks. ...
4 years, 6 months ago (2016-06-10 13:54:07 UTC) #4
oth
On 2016/06/10 13:54:07, oth wrote: > On 2016/06/09 17:57:24, oth wrote: > > Ross, PTAL ...
4 years, 6 months ago (2016-06-13 05:29:55 UTC) #5
rmcilroy
Nice refactor, thanks! Couple of comments and would like MakeInvalidEqualTo to have a different name, ...
4 years, 6 months ago (2016-06-20 11:21:39 UTC) #6
rmcilroy
Nice refactor, thanks! Couple of comments and would like MakeInvalidEqualTo to have a different name, ...
4 years, 6 months ago (2016-06-20 11:21:45 UTC) #7
oth
Thanks, comments incorporated. I haven't gone with GetSourcePositionInfo. See the comment, and let me know. ...
4 years, 6 months ago (2016-06-21 10:05:46 UTC) #8
rmcilroy
LGTM, thanks.
4 years, 6 months ago (2016-06-21 10:55:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2048203002/180001
4 years, 6 months ago (2016-06-21 11:09:14 UTC) #11
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 6 months ago (2016-06-21 11:11:24 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-21 11:12:41 UTC) #15
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/303d340f669a8521708357432bfe2cb368d42b2f
Cr-Commit-Position: refs/heads/master@{#37136}

Powered by Google App Engine
This is Rietveld 408576698