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

Issue 13653005: Prevent expensive and unnecessary error formatting in the case a bound check is (Closed)

Created:
7 years, 8 months ago by regis
Modified:
7 years, 8 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Prevent expensive and unnecessary error formatting in the case a bound check is postponed to run time (issue 9106). Eliminate bound check at compile time in some cases. Fix bound checking of mutually referencing bounds. Added test. Committed: https://code.google.com/p/dart/source/detail?r=20938

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -62 lines) Patch
M runtime/vm/class_finalizer.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/class_finalizer.cc View 1 9 chunks +49 lines, -17 lines 0 comments Download
M runtime/vm/object.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 7 chunks +58 lines, -43 lines 0 comments Download
A tests/language/f_bounded_quantification3_test.dart View 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
regis
7 years, 8 months ago (2013-04-04 19:05:58 UTC) #1
srdjan
LGTM https://codereview.chromium.org/13653005/diff/1/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/13653005/diff/1/runtime/vm/object.h#newcode3684 runtime/vm/object.h:3684: bool CheckBound(const AbstractType& bounded_type, Please document what result ...
7 years, 8 months ago (2013-04-04 20:12:52 UTC) #2
regis
Thanks! https://codereview.chromium.org/13653005/diff/1/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/13653005/diff/1/runtime/vm/object.h#newcode3684 runtime/vm/object.h:3684: bool CheckBound(const AbstractType& bounded_type, On 2013/04/04 20:12:52, srdjan ...
7 years, 8 months ago (2013-04-04 20:24:32 UTC) #3
regis
7 years, 8 months ago (2013-04-04 20:24:55 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r20938 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698