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

Issue 2146493002: Move catch prediction into frontend. (Closed)

Created:
4 years, 5 months ago by neis
Modified:
4 years, 5 months ago
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

Move catch prediction into frontend and make it aware of rethrows. This solves an issue with throws inside for-of always being marked as caught. BUG=v8:5183 Committed: https://crrev.com/8f1f1cb1c7623c1906c7b25372b68fed1fa065e0 Cr-Commit-Position: refs/heads/master@{#37686}

Patch Set 1 #

Patch Set 2 : ... #

Total comments: 7

Patch Set 3 : Comments #

Patch Set 4 : Disable test on Turbofan #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -57 lines) Patch
M src/ast/ast.h View 1 2 1 chunk +15 lines, -1 line 0 comments Download
M src/ast/ast-numbering.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/ast/ast-numbering.cc View 1 4 chunks +17 lines, -2 lines 0 comments Download
M src/ast/prettyprinter.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/ast/prettyprinter.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M src/full-codegen/full-codegen.h View 1 2 4 chunks +2 lines, -4 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 4 chunks +8 lines, -10 lines 0 comments Download
M src/interpreter/bytecode-generator.h View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 5 chunks +5 lines, -17 lines 0 comments Download
M src/interpreter/control-flow-builders.h View 4 chunks +10 lines, -10 lines 0 comments Download
M src/interpreter/control-flow-builders.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/isolate.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
A test/mjsunit/debug-exceptions.js View 1 1 chunk +70 lines, -0 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
neis
PTAL. I adapted Ignition and Full-codegen but not Crankshaft and Turbofan.
4 years, 5 months ago (2016-07-12 13:52:40 UTC) #3
Michael Starzinger
Thanks! I'll take care of TurboFan in a follow-up CL. https://codereview.chromium.org/2146493002/diff/20001/src/ast/ast.h File src/ast/ast.h (right): https://codereview.chromium.org/2146493002/diff/20001/src/ast/ast.h#newcode1152 ...
4 years, 5 months ago (2016-07-12 14:11:12 UTC) #4
neis
Thanks, addressed all comments. https://codereview.chromium.org/2146493002/diff/20001/src/ast/ast.h File src/ast/ast.h (right): https://codereview.chromium.org/2146493002/diff/20001/src/ast/ast.h#newcode1152 src/ast/ast.h:1152: // although the handler may ...
4 years, 5 months ago (2016-07-12 14:38:25 UTC) #5
Michael Starzinger
LGTM. Thanks!
4 years, 5 months ago (2016-07-12 14:43:25 UTC) #10
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/2146493002/60001
4 years, 5 months ago (2016-07-12 15:18:17 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-12 15:20:47 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-12 15:20:49 UTC) #18
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/8f1f1cb1c7623c1906c7b25372b68fed1fa065e0 Cr-Commit-Position: refs/heads/master@{#37686}
4 years, 5 months ago (2016-07-12 15:23:43 UTC) #20
Yang
4 years, 5 months ago (2016-07-13 08:39:58 UTC) #21
Message was sent while issue was closed.
This is awesome! Belated LGTM.

Powered by Google App Engine
This is Rietveld 408576698