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

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

Issue 1507313006: dart2js cps: Add instruction for null checks. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix true/false misdocumentation about condition and do not emit call Created 5 years 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) 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 8 import '../common/names.dart' show
9 Identifiers, 9 Identifiers,
10 Uris; 10 Uris;
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 cachedCheckConcurrentModificationError = 426 cachedCheckConcurrentModificationError =
427 findHelper('checkConcurrentModificationError'); 427 findHelper('checkConcurrentModificationError');
428 } 428 }
429 return cachedCheckConcurrentModificationError; 429 return cachedCheckConcurrentModificationError;
430 } 430 }
431 431
432 Element get throwConcurrentModificationError { 432 Element get throwConcurrentModificationError {
433 return findHelper('throwConcurrentModificationError'); 433 return findHelper('throwConcurrentModificationError');
434 } 434 }
435 435
436 Element get throwIndexOutOfBoundsError {
437 return findHelper('ioore');
438 }
439
440 Element get stringInterpolationHelper { 436 Element get stringInterpolationHelper {
441 return findHelper('S'); 437 return findHelper('S');
442 } 438 }
443 439
444 Element get wrapExceptionHelper { 440 Element get wrapExceptionHelper {
445 return findHelper(r'wrapException'); 441 return findHelper(r'wrapException');
446 } 442 }
447 443
448 Element get throwExpressionHelper { 444 Element get throwExpressionHelper {
449 return findHelper('throwExpression'); 445 return findHelper('throwExpression');
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 MethodElement _objectNoSuchMethod; 684 MethodElement _objectNoSuchMethod;
689 685
690 MethodElement get objectNoSuchMethod { 686 MethodElement get objectNoSuchMethod {
691 if (_objectNoSuchMethod == null) { 687 if (_objectNoSuchMethod == null) {
692 _objectNoSuchMethod = 688 _objectNoSuchMethod =
693 coreClasses.objectClass.lookupLocalMember(Identifiers.noSuchMethod_); 689 coreClasses.objectClass.lookupLocalMember(Identifiers.noSuchMethod_);
694 } 690 }
695 return _objectNoSuchMethod; 691 return _objectNoSuchMethod;
696 } 692 }
697 } 693 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/type_propagation.dart ('k') | pkg/compiler/lib/src/js_backend/codegen/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698