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

Issue 2987143002: Fix parsing of ClosureCreation kernel nodes in VM. (Closed)

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

Description

Fix parsing of ClosureCreation kernel nodes in VM. Summary: Previously, the VM would crash when it encountered a ClosureCreation node because it was not aware of the new type arguments field. Now, it skips the type arguemnts field, which allows many tests to pass again, even though it doesn't correct forward the type arguments at runtime. Test Plan: Removed expected failure lines for all the tests added in my prior CL (introducing the new field). BUG= R=dmitryas@google.com, jensj@google.com Reviewers: dmitryas@google.com Committed: https://github.com/dart-lang/sdk/commit/e80b42a2358c8d1275a639aab99986b6dd6cb7ba

Patch Set 1 #

Total comments: 6

Patch Set 2 : Cosmetic fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -16 lines) Patch
M pkg/kernel/test/closures/closures.status View 1 chunk +0 lines, -15 lines 0 comments Download
M runtime/vm/kernel_binary_flowgraph.cc View 1 3 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 11 (5 generated)
sjindel
3 years, 4 months ago (2017-07-31 12:37:21 UTC) #2
Dmitry Stefantsov
LGTM if you respond to the comments below. Also adding Martin, because I may not ...
3 years, 4 months ago (2017-07-31 15:15:07 UTC) #4
sjindel
https://codereview.chromium.org/2987143002/diff/1/runtime/vm/kernel_binary_flowgraph.cc File runtime/vm/kernel_binary_flowgraph.cc (right): https://codereview.chromium.org/2987143002/diff/1/runtime/vm/kernel_binary_flowgraph.cc#newcode700 runtime/vm/kernel_binary_flowgraph.cc:700: builder_->SkipListOfDartTypes(); // read type arguments On 2017/07/31 15:15:06, Dmitry ...
3 years, 4 months ago (2017-07-31 15:44:31 UTC) #5
sjindel
3 years, 4 months ago (2017-08-03 10:58:11 UTC) #8
jensj
lgtm
3 years, 4 months ago (2017-08-03 11:01:31 UTC) #9
sjindel
3 years, 4 months ago (2017-08-03 14:43:04 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
e80b42a2358c8d1275a639aab99986b6dd6cb7ba (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698