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

Issue 2545153002: Handle synthetic nodes use to throw exceptions (Closed)

Created:
4 years ago by sra1
Modified:
4 years ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Handle synthetic nodes use to throw exceptions - Implement: - - _genericNoSuchMethod - - _unresolvedConstructorError - - _malformedTypeError - Temporarily change NoSuchMethod.toString to avoid a closure. - Temporarily provide argument to StringBuffer to work around bug. BUG= R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/3e7aaeebe4e39cdb9dd7192df46560e01cfd271f

Patch Set 1 #

Patch Set 2 : dartfmt #

Patch Set 3 : Also handle malformed type #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -25 lines) Patch
M pkg/compiler/lib/src/js_backend/backend.dart View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend_helpers.dart View 1 2 2 chunks +15 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend_impact.dart View 1 2 2 chunks +7 lines, -3 lines 2 comments Download
M pkg/compiler/lib/src/js_backend/no_such_method_registry.dart View 1 1 chunk +6 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/kernel/kernel.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/kernel/unresolved.dart View 1 3 chunks +20 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder_kernel.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart View 1 4 chunks +34 lines, -1 line 0 comments Download
M sdk/lib/_internal/js_runtime/lib/convert_patch.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/js_runtime/lib/core_patch.dart View 1 2 6 chunks +41 lines, -3 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_rti.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/js_runtime/lib/string_helper.dart View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/mock_libraries.dart View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
sra1
4 years ago (2016-12-02 22:10:18 UTC) #3
Siggi Cherem (dart-lang)
lgtm Up to you on submitting the changes to the libs. I'm inlcined to exclude ...
4 years ago (2016-12-02 23:44:18 UTC) #4
sra1
Committed patchset #3 (id:40001) manually as 3e7aaeebe4e39cdb9dd7192df46560e01cfd271f (presubmit successful).
4 years ago (2016-12-03 00:11:38 UTC) #6
sra1
4 years ago (2016-12-03 00:12:38 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/2545153002/diff/40001/pkg/compiler/lib/src/js...
File pkg/compiler/lib/src/js_backend/backend_impact.dart (right):

https://codereview.chromium.org/2545153002/diff/40001/pkg/compiler/lib/src/js...
pkg/compiler/lib/src/js_backend/backend_impact.dart:165:
helpers.genericNoSuchMethod, // Used by kernel.
On 2016/12/02 23:44:18, Siggi Cherem (dart-lang) wrote:
> should we make this conditional?
> 
> if (compiler.options.useKernel) ...add(x,y)

Done.

Powered by Google App Engine
This is Rietveld 408576698