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

Issue 1674383002: Keep a trail while checking upper bounds in the VM in order to properly handle (Closed)

Created:
4 years, 10 months ago by regis
Modified:
4 years, 10 months ago
Reviewers:
rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Keep a trail while checking upper bounds in the VM in order to properly handle cycles via bounds (fixes #25568). Add a regression test. Improve handling of recursive types with trails. Make sure we do not modify already canonicalized types. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/7ab578d21ffec146e7889edd847a408eeb8a5e26

Patch Set 1 #

Total comments: 5

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+425 lines, -242 lines) Patch
M runtime/lib/mirrors.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/class_finalizer.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/class_finalizer.cc View 21 chunks +77 lines, -51 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 4 chunks +5 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 4 chunks +5 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 4 chunks +5 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 4 chunks +5 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 4 chunks +5 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/object.h View 22 chunks +50 lines, -27 lines 0 comments Download
M runtime/vm/object.cc View 1 42 chunks +227 lines, -135 lines 0 comments Download
M runtime/vm/parser.cc View 3 chunks +8 lines, -3 lines 0 comments Download
A tests/language/regress_25568_test.dart View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
regis
4 years, 10 months ago (2016-02-08 21:17:25 UTC) #2
rmacnak
https://chromiumcodereview.appspot.com/1674383002/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://chromiumcodereview.appspot.com/1674383002/diff/1/runtime/vm/object.cc#newcode4838 runtime/vm/object.cc:4838: ASSERT(IsOld()); I don't like the IsOld assertions. The type ...
4 years, 10 months ago (2016-02-09 00:50:23 UTC) #3
regis
PTAL Thanks! https://chromiumcodereview.appspot.com/1674383002/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://chromiumcodereview.appspot.com/1674383002/diff/1/runtime/vm/object.cc#newcode4838 runtime/vm/object.cc:4838: ASSERT(IsOld()); On 2016/02/09 00:50:22, rmacnak wrote: > ...
4 years, 10 months ago (2016-02-09 17:17:38 UTC) #4
rmacnak
LGTM https://chromiumcodereview.appspot.com/1674383002/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://chromiumcodereview.appspot.com/1674383002/diff/1/runtime/vm/object.cc#newcode4838 runtime/vm/object.cc:4838: ASSERT(IsOld()); On 2016/02/09 17:17:38, regis wrote: > On ...
4 years, 10 months ago (2016-02-09 18:11:20 UTC) #5
regis
On 2016/02/09 18:11:20, rmacnak wrote: > LGTM > > https://chromiumcodereview.appspot.com/1674383002/diff/1/runtime/vm/object.cc > File runtime/vm/object.cc (right): > ...
4 years, 10 months ago (2016-02-09 18:48:59 UTC) #6
regis
4 years, 10 months ago (2016-02-09 18:49:48 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
7ab578d21ffec146e7889edd847a408eeb8a5e26 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698