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

Issue 10834330: Clean-up of getCompilationUnit. (Closed)

Created:
8 years, 4 months ago by Lasse Reichstein Nielsen
Modified:
8 years, 4 months ago
Reviewers:
ahe
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Clean-up of getCompilationUnit. Fixes a few places that assumes libraries can be compilation units. - VoidElement now belongs to the entry compilation unit of the core library. - Abstract fields now belong to the compilation unit of the creating accessor. Committed: https://code.google.com/p/dart/source/detail?r=10711

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -49 lines) Patch
M lib/compiler/implementation/dart_backend/emitter.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M lib/compiler/implementation/elements/elements.dart View 1 12 chunks +37 lines, -35 lines 0 comments Download
M lib/compiler/implementation/js/nodes.dart View 1 1 chunk +5 lines, -1 line 0 comments Download
M lib/compiler/implementation/js/printer.dart View 1 3 chunks +6 lines, -3 lines 0 comments Download
M lib/compiler/implementation/js_backend/emitter.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M lib/compiler/implementation/ssa/codegen.dart View 1 2 chunks +9 lines, -6 lines 0 comments Download
M lib/compiler/implementation/typechecker.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/unparse_validator.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Lasse Reichstein Nielsen
https://chromiumcodereview.appspot.com/10834330/diff/1/lib/compiler/implementation/elements/elements.dart File lib/compiler/implementation/elements/elements.dart (right): https://chromiumcodereview.appspot.com/10834330/diff/1/lib/compiler/implementation/elements/elements.dart#newcode201 lib/compiler/implementation/elements/elements.dart:201: element = (element as FunctionElement).patch; This is still not ...
8 years, 4 months ago (2012-08-15 09:09:12 UTC) #1
ahe
The use of the cast operator is blocking this issue. https://chromiumcodereview.appspot.com/10834330/diff/1/lib/compiler/implementation/elements/elements.dart File lib/compiler/implementation/elements/elements.dart (right): https://chromiumcodereview.appspot.com/10834330/diff/1/lib/compiler/implementation/elements/elements.dart#newcode168 ...
8 years, 4 months ago (2012-08-15 10:00:19 UTC) #2
Lasse Reichstein Nielsen
Fixed comments. Removed more "as" casts elsewhere, just on general principle. Changed getCompilationUnit so that ...
8 years, 4 months ago (2012-08-15 11:17:05 UTC) #3
ahe
8 years, 4 months ago (2012-08-15 11:32:40 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698