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

Side by Side Diff: pkg/compiler/lib/src/common/names.dart

Issue 1304383003: dart2js cps: Add path-sensitive types by inserting refinement IR nodes. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Rebase Created 5 years, 3 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/cps_ir/cps_ir_nodes.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 containing identifier, names, and selectors commonly used through 5 /// Library containing identifier, names, and selectors commonly used through
6 /// the compiler. 6 /// the compiler.
7 library dart2js.common.names; 7 library dart2js.common.names;
8 8
9 import '../elements/elements.dart' show 9 import '../elements/elements.dart' show
10 Name, 10 Name,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 /// The selector for calling the to-string method on 'Object'. 81 /// The selector for calling the to-string method on 'Object'.
82 static final Selector toString_ = 82 static final Selector toString_ =
83 new Selector.call(Names.toString_, CallStructure.NO_ARGS); 83 new Selector.call(Names.toString_, CallStructure.NO_ARGS);
84 84
85 static final Selector hashCode_ = 85 static final Selector hashCode_ =
86 new Selector.getter(const PublicName('hashCode')); 86 new Selector.getter(const PublicName('hashCode'));
87 87
88 static final Selector compareTo = 88 static final Selector compareTo =
89 new Selector.call(const PublicName("compareTo"), CallStructure.ONE_ARG); 89 new Selector.call(const PublicName("compareTo"), CallStructure.ONE_ARG);
90
91 static final Selector equals = new Selector.binaryOperator('==');
90 } 92 }
91 93
92 /// [Uri]s commonly used. 94 /// [Uri]s commonly used.
93 class Uris { 95 class Uris {
94 /// The URI for 'dart:async'. 96 /// The URI for 'dart:async'.
95 static final Uri dart_async = new Uri(scheme: 'dart', path: 'async'); 97 static final Uri dart_async = new Uri(scheme: 'dart', path: 'async');
96 98
97 /// The URI for 'dart:core'. 99 /// The URI for 'dart:core'.
98 static final Uri dart_core = new Uri(scheme: 'dart', path: 'core'); 100 static final Uri dart_core = new Uri(scheme: 'dart', path: 'core');
99 101
100 /// The URI for 'dart:html'. 102 /// The URI for 'dart:html'.
101 static final Uri dart_html = new Uri(scheme: 'dart', path: 'html'); 103 static final Uri dart_html = new Uri(scheme: 'dart', path: 'html');
102 104
103 /// The URI for 'dart:mirrors'. 105 /// The URI for 'dart:mirrors'.
104 static final Uri dart_mirrors = new Uri(scheme: 'dart', path: 'mirrors'); 106 static final Uri dart_mirrors = new Uri(scheme: 'dart', path: 'mirrors');
105 107
106 /// The URI for 'dart:_internal'. 108 /// The URI for 'dart:_internal'.
107 static final Uri dart__internal = new Uri(scheme: 'dart', path: '_internal'); 109 static final Uri dart__internal = new Uri(scheme: 'dart', path: '_internal');
108 110
109 /// The URI for 'dart:_native_typed_data'. 111 /// The URI for 'dart:_native_typed_data'.
110 static final Uri dart__native_typed_data = 112 static final Uri dart__native_typed_data =
111 new Uri(scheme: 'dart', path: '_native_typed_data'); 113 new Uri(scheme: 'dart', path: '_native_typed_data');
112 } 114 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698