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

Issue 1641723002: [interpreter] Translate exception handlers into graph. (Closed)

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

Description

[interpreter] Translate exception handlers into graph. This translates the exception handler table attached to a bytecode array correctly into exceptional projections within the TurboFan graph. We perform an abstract simulation of handlers that are being entered and exited by the bytecode iteration to track the correct handler for each node. R=oth@chromium.org BUG=v8:4674 LOG=n Committed: https://crrev.com/8bfa1ea33ae51b938af3532d1bebc6b1f6583f9a Cr-Commit-Position: refs/heads/master@{#33580}

Patch Set 1 #

Patch Set 2 : Fix compilation on some compilers. #

Total comments: 2

Patch Set 3 : Added tests. #

Patch Set 4 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -30 lines) Patch
M src/compiler/bytecode-branch-analysis.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/bytecode-branch-analysis.cc View 4 chunks +17 lines, -0 lines 0 comments Download
M src/compiler/bytecode-graph-builder.h View 1 6 chunks +23 lines, -3 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 8 chunks +50 lines, -3 lines 0 comments Download
M src/objects.h View 1 2 3 2 chunks +10 lines, -2 lines 0 comments Download
M src/objects-inl.h View 2 chunks +15 lines, -0 lines 0 comments Download
M test/cctest/cctest.status View 2 chunks +3 lines, -6 lines 0 comments Download
M test/cctest/compiler/test-run-bytecode-graph-builder.cc View 1 2 3 chunks +99 lines, -2 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 chunk +4 lines, -11 lines 0 comments Download
M test/mjsunit/mjsunit.status View 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Michael Starzinger
Note that tests are still missing. But I wanted to get a first round of ...
4 years, 11 months ago (2016-01-27 17:26:06 UTC) #4
mvstanton
Pretty nice, thanks for the capsule explanation yesterday. Y'all are working on some cool stuff ...
4 years, 10 months ago (2016-01-28 09:04:43 UTC) #5
oth
LGTM. Good set of comments with the code. Looks like one unused declaration, but super. ...
4 years, 10 months ago (2016-01-28 09:25:58 UTC) #6
Michael Starzinger
Added tests. This is ready for a final review. PTAL. I had to disable several ...
4 years, 10 months ago (2016-01-28 10:53:56 UTC) #7
oth
Happy to have this land as-is and have refinements to the branch analysis follow.
4 years, 10 months ago (2016-01-28 12:11:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1641723002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1641723002/60001
4 years, 10 months ago (2016-01-28 12:16:38 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-01-28 12:18:21 UTC) #13
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 12:18:35 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8bfa1ea33ae51b938af3532d1bebc6b1f6583f9a
Cr-Commit-Position: refs/heads/master@{#33580}

Powered by Google App Engine
This is Rietveld 408576698