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

Side by Side Diff: test/generated_sdk/lib/_internal/compiler/js_lib/js_rti.dart

Issue 955513008: cleans up sdk patching so we no longer have unresolved names (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 /** 5 /**
6 * This part contains helpers for supporting runtime type information. 6 * This part contains helpers for supporting runtime type information.
7 * 7 *
8 * The helper use a mixture of Dart and JavaScript objects. To indicate which is 8 * The helper use a mixture of Dart and JavaScript objects. To indicate which is
9 * used where we adopt the scheme of using explicit type annotation for Dart 9 * used where we adopt the scheme of using explicit type annotation for Dart
10 * objects and 'var' or omitted return type for JavaScript objects. 10 * objects and 'var' or omitted return type for JavaScript objects.
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 * `null` and `undefined` (which we can avoid). 679 * `null` and `undefined` (which we can avoid).
680 */ 680 */
681 bool isIdentical(var s, var t) => JS('bool', '# === #', s, t); 681 bool isIdentical(var s, var t) => JS('bool', '# === #', s, t);
682 682
683 /** 683 /**
684 * Returns `true` if the JavaScript values [s] and [t] are not identical. We use 684 * Returns `true` if the JavaScript values [s] and [t] are not identical. We use
685 * this helper instead of [identical] because `identical` needs to merge 685 * this helper instead of [identical] because `identical` needs to merge
686 * `null` and `undefined` (which we can avoid). 686 * `null` and `undefined` (which we can avoid).
687 */ 687 */
688 bool isNotIdentical(var s, var t) => JS('bool', '# !== #', s, t); 688 bool isNotIdentical(var s, var t) => JS('bool', '# !== #', s, t);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698