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

Issue 2938173002: [kernel] Fix loading of type argument in catch. (Closed)

Created:
3 years, 6 months ago by jensj
Modified:
3 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[kernel] Fix loading of type argument in catch. Catch simply gave NullConstant as arguments to _instanceOf, now I've copied what the IsExpression does, and made LoadInstantiatorTypeArguments actually work in this case (by filling out the scopes_->this_variable value, by actually visiting the catch guard in the scope builder rather than skipping it). Fixes #29553. BUG= R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/202306f39be77dc84925a11cda977c950bf9e78d

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -5 lines) Patch
M runtime/vm/kernel_binary_flowgraph.cc View 2 chunks +11 lines, -3 lines 1 comment Download
M tests/language/language_kernel.status View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
jensj
3 years, 6 months ago (2017-06-15 08:04:07 UTC) #2
ahe
Perhaps Slava can help reviewing this.
3 years, 6 months ago (2017-06-16 13:49:47 UTC) #4
Kevin Millikin (Google)
LGTM. https://codereview.chromium.org/2938173002/diff/1/runtime/vm/kernel_binary_flowgraph.cc File runtime/vm/kernel_binary_flowgraph.cc (right): https://codereview.chromium.org/2938173002/diff/1/runtime/vm/kernel_binary_flowgraph.cc#newcode891 runtime/vm/kernel_binary_flowgraph.cc:891: VisitDartType(); // read guard. Update comments to be ...
3 years, 6 months ago (2017-06-21 07:02:58 UTC) #5
jensj
3 years, 6 months ago (2017-06-21 08:56:28 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
202306f39be77dc84925a11cda977c950bf9e78d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698