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

Issue 717823002: Manually default Error messages to avoid dart2js code bloat. (Closed)

Created:
6 years, 1 month ago by sra1
Modified:
6 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Manually default Error messages to avoid dart2js code bloat. The generated code with this change has 'null' arguments instead of multiple copies of the default message string. Ideally the compiler would recognize common code patterns and extract them into helper code. This requires architectural changes to the compiler. The nulls can be removed with an optimization (pending) that is possible with the current architecture.

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
M sdk/lib/core/errors.dart View 3 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Lasse Reichstein Nielsen
LGTM. I think this is perfectly fine, and, on second thought, probably better. We don't ...
6 years, 1 month ago (2014-11-12 07:08:51 UTC) #3
Lasse Reichstein Nielsen
I've incorporated this into another CL.
6 years, 1 month ago (2014-11-12 07:38:43 UTC) #4
Lasse Reichstein Nielsen
6 years, 1 month ago (2014-11-13 12:48:34 UTC) #5
And it's been committed as r41705

Powered by Google App Engine
This is Rietveld 408576698