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

Issue 1481763002: [Interpreter] Adds support for throw to bytecode graph builder. (Closed)

Created:
5 years ago by mythria
Modified:
5 years ago
Reviewers:
oth, Michael Starzinger
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] Adds support for throw to bytecode graph builder. Adds support and tests for throw to bytecode graph builder. BUG=v8:4280 LOG=N Committed: https://crrev.com/c11e7bc2195e51613efbbb6de6ca56947192c0b9 Cr-Commit-Position: refs/heads/master@{#32399}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed review comments. Added TryCatch Scope instead of try-catch wrapper to test Throw. #

Total comments: 4

Patch Set 3 : Fixed nits. #

Total comments: 2

Patch Set 4 : Fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -7 lines) Patch
M src/compiler/bytecode-graph-builder.cc View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M test/cctest/compiler/test-run-bytecode-graph-builder.cc View 1 2 3 chunks +47 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
mythria
Could you please review my changes. Thanks, Mythri
5 years ago (2015-11-26 15:53:28 UTC) #2
Michael Starzinger
https://codereview.chromium.org/1481763002/diff/1/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/1481763002/diff/1/src/compiler/bytecode-graph-builder.cc#newcode820 src/compiler/bytecode-graph-builder.cc:820: NewNode(javascript()->CallRuntime(Runtime::kReThrow, 1), value); This should be Runtime::kThrow, not Runtime::kReThrow, ...
5 years ago (2015-11-26 17:27:46 UTC) #4
Michael Starzinger
https://codereview.chromium.org/1481763002/diff/1/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/1481763002/diff/1/src/compiler/bytecode-graph-builder.cc#newcode820 src/compiler/bytecode-graph-builder.cc:820: NewNode(javascript()->CallRuntime(Runtime::kReThrow, 1), value); On 2015/11/26 17:27:45, Michael Starzinger wrote: ...
5 years ago (2015-11-27 09:28:46 UTC) #5
mythria
Thanks for your comments. I addressed the review comments. Can you please review them. Thanks, ...
5 years ago (2015-11-27 14:54:47 UTC) #6
Michael Starzinger
LGTM. https://codereview.chromium.org/1481763002/diff/1/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/1481763002/diff/1/src/compiler/bytecode-graph-builder.cc#newcode820 src/compiler/bytecode-graph-builder.cc:820: NewNode(javascript()->CallRuntime(Runtime::kReThrow, 1), value); On 2015/11/27 14:54:47, mythria wrote: ...
5 years ago (2015-11-27 15:09:19 UTC) #7
mythria
Thanks for your review and comments. Fixed the nits. Thanks, Mythri. https://codereview.chromium.org/1481763002/diff/20001/test/cctest/compiler/test-run-bytecode-graph-builder.cc File test/cctest/compiler/test-run-bytecode-graph-builder.cc (right): ...
5 years ago (2015-11-27 15:40:44 UTC) #8
oth
lgtm https://codereview.chromium.org/1481763002/diff/40001/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/1481763002/diff/40001/src/compiler/bytecode-graph-builder.cc#newcode820 src/compiler/bytecode-graph-builder.cc:820: // TODO(mythria): Change it Runtime::kThrow when we have ...
5 years ago (2015-11-30 10:01:11 UTC) #9
mythria
Thanks for the review. I fixed it. https://codereview.chromium.org/1481763002/diff/40001/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/1481763002/diff/40001/src/compiler/bytecode-graph-builder.cc#newcode820 src/compiler/bytecode-graph-builder.cc:820: // TODO(mythria): ...
5 years ago (2015-11-30 10:35:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1481763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1481763002/60001
5 years ago (2015-11-30 11:09:06 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-11-30 11:14:35 UTC) #15
commit-bot: I haz the power
5 years ago (2015-11-30 11:14:50 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c11e7bc2195e51613efbbb6de6ca56947192c0b9
Cr-Commit-Position: refs/heads/master@{#32399}

Powered by Google App Engine
This is Rietveld 408576698