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

Issue 585173002: dart2js: Support new const operations on strings. (Closed)

Created:
6 years, 3 months ago by floitsch
Modified:
5 years, 11 months ago
Reviewers:
Johnni Winther
CC:
reviews_dartlang.org, Brian Wilkerson, hausner
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

dart2js: Support new const operations on strings. BUG= http://dartbug.com/21001 R=johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=42737

Patch Set 1 #

Patch Set 2 : Add null check. #

Total comments: 4

Patch Set 3 : Address comment. #

Patch Set 4 : Rebase and status file updates. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -5 lines) Patch
M pkg/compiler/lib/src/compile_time_constants.dart View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/constant_system_dart.dart View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/constant_system_javascript.dart View 1 2 3 2 chunks +18 lines, -1 line 0 comments Download
M tests/language/compile_time_constant12_test.dart View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M tests/language/compile_time_constant_c_test.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/language/language.status View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M tests/language/language_analyzer.status View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M tests/language/language_analyzer2.status View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
floitsch
6 years, 3 months ago (2014-09-20 00:14:33 UTC) #2
Johnni Winther
lgtm https://codereview.chromium.org/585173002/diff/20001/sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart File sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart (right): https://codereview.chromium.org/585173002/diff/20001/sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart#newcode107 sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart:107: if (result == null || result.isString) return result; ...
6 years, 3 months ago (2014-09-24 09:29:22 UTC) #3
floitsch
Note: I won't commit this CL until the spec is ready for it. https://codereview.chromium.org/585173002/diff/20001/sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart File ...
6 years, 3 months ago (2014-09-24 12:53:19 UTC) #4
Johnni Winther
https://codereview.chromium.org/585173002/diff/20001/sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart File sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart (right): https://codereview.chromium.org/585173002/diff/20001/sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart#newcode107 sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart:107: if (result == null || result.isString) return result; On ...
6 years, 3 months ago (2014-09-25 09:07:56 UTC) #5
floitsch
https://codereview.chromium.org/585173002/diff/20001/sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart File sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart (right): https://codereview.chromium.org/585173002/diff/20001/sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart#newcode107 sdk/lib/_internal/compiler/implementation/js_backend/constant_system_javascript.dart:107: if (result == null || result.isString) return result; On ...
6 years, 2 months ago (2014-09-25 12:29:05 UTC) #6
floitsch
Reviving. The spec has been updated. PTAL.
5 years, 11 months ago (2015-01-09 11:57:05 UTC) #7
Johnni Winther
Still LGTM
5 years, 11 months ago (2015-01-09 14:19:51 UTC) #8
floitsch
5 years, 11 months ago (2015-01-09 16:08:15 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 42737 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698