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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 14049034: Revert "Revert "Fix x.runtimeType for native classes"" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/js_backend/backend.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart2js; 5 part of dart2js;
6 6
7 /** 7 /**
8 * If true, print a warning for each method that was resolved, but not 8 * If true, print a warning for each method that was resolved, but not
9 * compiled. 9 * compiled.
10 */ 10 */
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 ClassElement get growableListImplementation => compiler.listClass; 170 ClassElement get growableListImplementation => compiler.listClass;
171 ClassElement get fixedListImplementation => compiler.listClass; 171 ClassElement get fixedListImplementation => compiler.listClass;
172 ClassElement get constListImplementation => compiler.listClass; 172 ClassElement get constListImplementation => compiler.listClass;
173 ClassElement get mapImplementation => compiler.mapClass; 173 ClassElement get mapImplementation => compiler.mapClass;
174 ClassElement get constMapImplementation => compiler.mapClass; 174 ClassElement get constMapImplementation => compiler.mapClass;
175 ClassElement get functionImplementation => compiler.functionClass; 175 ClassElement get functionImplementation => compiler.functionClass;
176 ClassElement get typeImplementation => compiler.typeClass; 176 ClassElement get typeImplementation => compiler.typeClass;
177 ClassElement get boolImplementation => compiler.boolClass; 177 ClassElement get boolImplementation => compiler.boolClass;
178 ClassElement get nullImplementation => compiler.nullClass; 178 ClassElement get nullImplementation => compiler.nullClass;
179 179
180 ClassElement defaultSuperclass(ClassElement element) => compiler.objectClass;
181
180 bool isDefaultNoSuchMethodImplementation(Element element) { 182 bool isDefaultNoSuchMethodImplementation(Element element) {
181 assert(element.name == Compiler.NO_SUCH_METHOD); 183 assert(element.name == Compiler.NO_SUCH_METHOD);
182 ClassElement classElement = element.getEnclosingClass(); 184 ClassElement classElement = element.getEnclosingClass();
183 return classElement == compiler.objectClass; 185 return classElement == compiler.objectClass;
184 } 186 }
185 } 187 }
186 188
187 /** 189 /**
188 * Key class used in [TokenMap] in which the hash code for a token is based 190 * Key class used in [TokenMap] in which the hash code for a token is based
189 * on the [charOffset]. 191 * on the [charOffset].
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1334 1336
1335 void close() {} 1337 void close() {}
1336 1338
1337 toString() => name; 1339 toString() => name;
1338 1340
1339 /// Convenience method for getting an [api.CompilerOutputProvider]. 1341 /// Convenience method for getting an [api.CompilerOutputProvider].
1340 static NullSink outputProvider(String name, String extension) { 1342 static NullSink outputProvider(String name, String extension) {
1341 return new NullSink('$name.$extension'); 1343 return new NullSink('$name.$extension');
1342 } 1344 }
1343 } 1345 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698