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

Side by Side Diff: pkg/compiler/lib/src/js_backend/backend_helpers.dart

Issue 2615623002: Revert "Reduce use of Element in optimize.dart" (Closed)
Patch Set: Created 3 years, 11 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 | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/native/ssa.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 dart2js.js_backend.helpers; 5 library dart2js.js_backend.helpers;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../common/names.dart' show Identifiers, Uris; 8 import '../common/names.dart' show Identifiers, Uris;
9 import '../common/resolution.dart' show Resolution; 9 import '../common/resolution.dart' show Resolution;
10 import '../compiler.dart' show Compiler; 10 import '../compiler.dart' show Compiler;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 ClassElement jsUnmodifiableArrayClass; 106 ClassElement jsUnmodifiableArrayClass;
107 ClassElement jsPositiveIntClass; 107 ClassElement jsPositiveIntClass;
108 ClassElement jsUInt32Class; 108 ClassElement jsUInt32Class;
109 ClassElement jsUInt31Class; 109 ClassElement jsUInt31Class;
110 110
111 MemberElement jsIndexableLength; 111 MemberElement jsIndexableLength;
112 Element jsArrayTypedConstructor; 112 Element jsArrayTypedConstructor;
113 MethodElement jsArrayRemoveLast; 113 MethodElement jsArrayRemoveLast;
114 MethodElement jsArrayAdd; 114 MethodElement jsArrayAdd;
115 MethodElement jsStringSplit; 115 MethodElement jsStringSplit;
116 MethodElement jsStringToString; 116 Element jsStringToString;
117 MethodElement jsStringOperatorAdd; 117 Element jsStringOperatorAdd;
118 MethodElement objectEquals; 118 Element objectEquals;
119 119
120 ClassElement typeLiteralClass; 120 ClassElement typeLiteralClass;
121 ClassElement mapLiteralClass; 121 ClassElement mapLiteralClass;
122 ClassElement constMapLiteralClass; 122 ClassElement constMapLiteralClass;
123 ClassElement typeVariableClass; 123 ClassElement typeVariableClass;
124 124
125 ClassElement noSideEffectsClass; 125 ClassElement noSideEffectsClass;
126 ClassElement noThrowsClass; 126 ClassElement noThrowsClass;
127 ClassElement noInlineClass; 127 ClassElement noInlineClass;
128 ClassElement forceInlineClass; 128 ClassElement forceInlineClass;
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 } 866 }
867 867
868 MethodElement get toStringForNativeObject { 868 MethodElement get toStringForNativeObject {
869 return _findHelper('toStringForNativeObject'); 869 return _findHelper('toStringForNativeObject');
870 } 870 }
871 871
872 MethodElement get hashCodeForNativeObject { 872 MethodElement get hashCodeForNativeObject {
873 return _findHelper('hashCodeForNativeObject'); 873 return _findHelper('hashCodeForNativeObject');
874 } 874 }
875 } 875 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/native/ssa.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698