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

Side by Side Diff: lib/compiler/implementation/universe/universe.dart

Issue 11088022: Move RuntimeTypeInformation to its own library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | « lib/compiler/implementation/ssa/ssa.dart ('k') | no next file » | 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 #library('universe'); 5 #library('universe');
6 6
7 #import('../closure.dart'); 7 #import('../closure.dart');
8 #import('../elements/elements.dart'); 8 #import('../elements/elements.dart');
9 #import('../leg.dart'); 9 #import('../leg.dart');
10 #import('../scanner/scannerlib.dart'); 10 #import('../scanner/scannerlib.dart');
11 // For RuntimeTypeInformation. TODO(ngeoffray): remove this dependency. 11 #import('../runtime_types.dart');
12 #import('../ssa/ssa.dart');
13 #import('../tree/tree.dart'); 12 #import('../tree/tree.dart');
14 #import('../util/util.dart'); 13 #import('../util/util.dart');
15 14
16 #source('function_set.dart'); 15 #source('function_set.dart');
17 #source('partial_type_tree.dart'); 16 #source('partial_type_tree.dart');
18 #source('selector_map.dart'); 17 #source('selector_map.dart');
19 18
20 class Universe { 19 class Universe {
21 /** 20 /**
22 * Documentation wanted -- johnniwinther 21 * Documentation wanted -- johnniwinther
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 524
526 if (!self.isInterface() && self.isSubclassOf(other)) { 525 if (!self.isInterface() && self.isSubclassOf(other)) {
527 // Resolve an invocation of [element.name] on [self]. If it 526 // Resolve an invocation of [element.name] on [self]. If it
528 // is found, this selector is a candidate. 527 // is found, this selector is a candidate.
529 return hasElementIn(self, element) && appliesUntyped(element, compiler); 528 return hasElementIn(self, element) && appliesUntyped(element, compiler);
530 } 529 }
531 530
532 return false; 531 return false;
533 } 532 }
534 } 533 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/ssa/ssa.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698