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 1355873003: Throw Error on unreachable code rather than a String. (Closed)

Created:
5 years, 3 months ago by sra1
Modified:
5 years, 3 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Throw Error on unreachable code rather than throwing a String. Still under a 'flag'. Enable with: DART_VM_OPTIONS=-Dunreachable-throw=true <compile> These tests fail with an [empty] input to createRuntimeType. DART_VM_OPTIONS=-Dunreachable-throw=true tools/test.py -mrelease -cdart2js -rd8 dart2js_extra/deferred/deferred_mirrors1_test DART_VM_OPTIONS=-Dunreachable-throw=true tools/test.py -mrelease -cdart2js -rd8 dart2js_extra/mirrors_used_warning2_test R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/d0c00d2b61a2a8a32c87ac24d333e21ace87df20

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -15 lines) Patch
M pkg/compiler/lib/src/js_backend/backend.dart View 3 chunks +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/type_variable_handler.dart View 1 2 chunks +4 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 chunks +16 lines, -9 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_helper.dart View 1 chunk +14 lines, -0 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_rti.dart View 1 1 chunk +5 lines, -1 line 0 comments Download
M tests/compiler/dart2js/mock_libraries.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
sra1
5 years, 3 months ago (2015-09-18 21:57:53 UTC) #3
Siggi Cherem (dart-lang)
lgtm https://chromiumcodereview.appspot.com/1355873003/diff/20001/pkg/compiler/lib/src/ssa/builder.dart File pkg/compiler/lib/src/ssa/builder.dart (right): https://chromiumcodereview.appspot.com/1355873003/diff/20001/pkg/compiler/lib/src/ssa/builder.dart#newcode1647 pkg/compiler/lib/src/ssa/builder.dart:1647: /// Use sparingly. In order for the comment ...
5 years, 3 months ago (2015-09-18 22:19:56 UTC) #4
sra1
https://chromiumcodereview.appspot.com/1355873003/diff/20001/pkg/compiler/lib/src/ssa/builder.dart File pkg/compiler/lib/src/ssa/builder.dart (right): https://chromiumcodereview.appspot.com/1355873003/diff/20001/pkg/compiler/lib/src/ssa/builder.dart#newcode1647 pkg/compiler/lib/src/ssa/builder.dart:1647: /// Use sparingly. In order for the comment to ...
5 years, 3 months ago (2015-09-18 22:34:30 UTC) #5
sra1
5 years, 3 months ago (2015-09-18 23:55:04 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:60001) manually as
d0c00d2b61a2a8a32c87ac24d333e21ace87df20 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698