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

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

Issue 1366673003: dart2js: fix for https://github.com/dart-lang/sdk/issues/24412 (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: delete whitespace 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 code_generator_dependencies; 5 library code_generator_dependencies;
6 6
7 import '../js_backend.dart'; 7 import '../js_backend.dart';
8 import '../../common/registry.dart' show 8 import '../../common/registry.dart' show
9 Registry; 9 Registry;
10 import '../../compiler.dart' show 10 import '../../compiler.dart' show
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 return _backend.operatorEqHandlesNullArgument(element); 254 return _backend.operatorEqHandlesNullArgument(element);
255 } 255 }
256 256
257 bool hasStrictSubtype(ClassElement element) { 257 bool hasStrictSubtype(ClassElement element) {
258 return _compiler.world.hasAnyStrictSubtype(element); 258 return _compiler.world.hasAnyStrictSubtype(element);
259 } 259 }
260 260
261 ClassElement get jsExtendableArrayClass => _backend.jsExtendableArrayClass; 261 ClassElement get jsExtendableArrayClass => _backend.jsExtendableArrayClass;
262 ClassElement get jsMutableArrayClass => _backend.jsMutableArrayClass; 262 ClassElement get jsMutableArrayClass => _backend.jsMutableArrayClass;
263 263
264 ClassElement get jsPlainJavaScriptObjectClass =>
265 _backend.jsPlainJavaScriptObjectClass;
266 ClassElement get jsUnknownJavaScriptObjectClass =>
267 _backend.jsUnknownJavaScriptObjectClass;
268
264 bool isStringClass(ClassElement classElement) => 269 bool isStringClass(ClassElement classElement) =>
265 classElement == _backend.jsStringClass || 270 classElement == _backend.jsStringClass ||
266 classElement == _compiler.stringClass; 271 classElement == _compiler.stringClass;
267 272
268 bool isBoolClass(ClassElement classElement) => 273 bool isBoolClass(ClassElement classElement) =>
269 classElement == _backend.jsBoolClass || 274 classElement == _backend.jsBoolClass ||
270 classElement == _compiler.boolClass; 275 classElement == _compiler.boolClass;
271 } 276 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/codegen.dart ('k') | sdk/lib/_internal/js_runtime/lib/js_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698