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

Issue 288343014: dart2dart: Test cases for better code coverage in dart_tree rewritings. (Closed)

Created:
6 years, 7 months ago by asgerf
Modified:
6 years, 7 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

dart2dart: Test cases for better code coverage in dart_tree rewritings. Also: - fixes a pattern matching bug revealed by a test. - contains a tool for profiling multiple compilations in Dart Observatory. BUG= R=sigurdm@google.com Committed: https://code.google.com/p/dart/source/detail?r=36678

Patch Set 1 #

Total comments: 7

Patch Set 2 : Sigurds comments #

Patch Set 3 : SVN rebase #

Patch Set 4 : Fix test case #

Patch Set 5 : SVN rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+623 lines, -272 lines) Patch
A sdk/lib/_internal/compiler/implementation/dart2js_profile_many.dart View 1 1 chunk +54 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart_backend/dart_tree.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
D tests/language/if_flatten1_test.dart View 1 chunk +0 lines, -82 lines 0 comments Download
D tests/language/if_flatten2_test.dart View 1 chunk +0 lines, -72 lines 0 comments Download
D tests/language/logical_rewrite_test.dart View 1 chunk +0 lines, -111 lines 0 comments Download
A + tests/language/rewrite_assign_test.dart View 1 chunk +17 lines, -7 lines 0 comments Download
A tests/language/rewrite_conditional_test.dart View 1 chunk +99 lines, -0 lines 0 comments Download
A tests/language/rewrite_if_empty_then_test.dart View 1 chunk +47 lines, -0 lines 0 comments Download
A tests/language/rewrite_if_return_test.dart View 1 chunk +47 lines, -0 lines 0 comments Download
A tests/language/rewrite_if_swap_test.dart View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A tests/language/rewrite_logical_test.dart View 1 chunk +297 lines, -0 lines 0 comments Download
A + tests/language/rewrite_nested_if1_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/language/rewrite_nested_if2_test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tests/language/rewrite_nested_if3_test.dart View 4 chunks +6 lines, -0 lines 0 comments Download
M tests/language/rewrite_while_test.dart View 1 2 3 2 chunks +24 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
asgerf
Bash script in case want to look at the code coverage: DART=<dart repository>/dart dart -DUSE_NEW_BACKEND=true ...
6 years, 7 months ago (2014-05-22 13:49:35 UTC) #1
asgerf
Bump. Could someone take a look when you have the time?
6 years, 7 months ago (2014-05-27 11:44:35 UTC) #2
sigurdm
LGTM I don't know the policy for making internal scripts - but maybe it would ...
6 years, 7 months ago (2014-05-27 12:05:34 UTC) #3
asgerf
There is a file dart2js_stress.dart in the same folder and this seemed related. https://codereview.chromium.org/288343014/diff/1/sdk/lib/_internal/compiler/implementation/dart2js_profile_many.dart File ...
6 years, 7 months ago (2014-05-27 12:25:33 UTC) #4
sigurdm
Right - that seems like the same kind of tool.
6 years, 7 months ago (2014-05-27 12:31:59 UTC) #5
asgerf
6 years, 7 months ago (2014-05-27 13:39:51 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r36678 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698