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

Issue 10165004: Only emit typeguards if we think they are valuable. (Closed)

Created:
8 years, 8 months ago by floitsch
Modified:
8 years, 8 months ago
Reviewers:
kasperl
CC:
reviews_dartlang.org, ngeoffray
Visibility:
Public.

Description

Only emit typeguards if we think they are valuable. Committed: https://code.google.com/p/dart/source/detail?r=6802

Patch Set 1 #

Total comments: 8

Patch Set 2 : Updated tests #

Patch Set 3 : Address comments. #

Patch Set 4 : Adapt another test. #

Patch Set 5 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -25 lines) Patch
M frog/tests/leg/src/BuiltinInterceptorTest.dart View 1 1 chunk +5 lines, -2 lines 0 comments Download
M frog/tests/leg/src/CodeMotionTest.dart View 1 1 chunk +7 lines, -5 lines 0 comments Download
M frog/tests/leg/src/GVNTest.dart View 1 1 chunk +4 lines, -2 lines 0 comments Download
M frog/tests/leg/src/TypeGuardUnuserTest.dart View 1 2 chunks +15 lines, -0 lines 0 comments Download
M frog/tests/leg/src/TypeInferenceTest.dart View 1 4 chunks +34 lines, -2 lines 0 comments Download
M lib/compiler/implementation/ssa/bailout.dart View 1 2 3 4 2 chunks +24 lines, -2 lines 0 comments Download
M lib/compiler/implementation/ssa/nodes.dart View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M tests/language/src/ListDoubleIndexInLoop2Test.dart View 1 2 3 1 chunk +14 lines, -12 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
floitsch
I still need to update the tests.
8 years, 8 months ago (2012-04-20 12:01:50 UTC) #1
kasperl
LGTM. https://chromiumcodereview.appspot.com/10165004/diff/1/lib/compiler/implementation/ssa/bailout.dart File lib/compiler/implementation/ssa/bailout.dart (right): https://chromiumcodereview.appspot.com/10165004/diff/1/lib/compiler/implementation/ssa/bailout.dart#newcode116 lib/compiler/implementation/ssa/bailout.dart:116: bool isMoreNested(HBasicBlock loopHeader1, HBasicBlock loopHeader2) { isNestedInside? You're ...
8 years, 8 months ago (2012-04-20 12:07:31 UTC) #2
floitsch
https://chromiumcodereview.appspot.com/10165004/diff/1/lib/compiler/implementation/ssa/bailout.dart File lib/compiler/implementation/ssa/bailout.dart (right): https://chromiumcodereview.appspot.com/10165004/diff/1/lib/compiler/implementation/ssa/bailout.dart#newcode116 lib/compiler/implementation/ssa/bailout.dart:116: bool isMoreNested(HBasicBlock loopHeader1, HBasicBlock loopHeader2) { On 2012/04/20 12:07:31, ...
8 years, 8 months ago (2012-04-20 12:43:47 UTC) #3
kasperl
https://chromiumcodereview.appspot.com/10165004/diff/1/lib/compiler/implementation/ssa/nodes.dart File lib/compiler/implementation/ssa/nodes.dart (right): https://chromiumcodereview.appspot.com/10165004/diff/1/lib/compiler/implementation/ssa/nodes.dart#newcode448 lib/compiler/implementation/ssa/nodes.dart:448: HBasicBlock getEnclosingLoopHeader() { On 2012/04/20 12:43:47, floitsch wrote: > ...
8 years, 8 months ago (2012-04-20 12:52:14 UTC) #4
floitsch
https://chromiumcodereview.appspot.com/10165004/diff/1/lib/compiler/implementation/ssa/nodes.dart File lib/compiler/implementation/ssa/nodes.dart (right): https://chromiumcodereview.appspot.com/10165004/diff/1/lib/compiler/implementation/ssa/nodes.dart#newcode448 lib/compiler/implementation/ssa/nodes.dart:448: HBasicBlock getEnclosingLoopHeader() { On 2012/04/20 12:52:14, kasperl wrote: > ...
8 years, 8 months ago (2012-04-20 13:51:21 UTC) #5
kasperl
8 years, 8 months ago (2012-04-23 05:37:55 UTC) #6
LGTM. Even better.

Powered by Google App Engine
This is Rietveld 408576698