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: sdk/lib/_internal/compiler/js_lib/js_rti.dart

Issue 538513002: Move js library back into compiler directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
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 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 * and [t] are Dart values. 697 * and [t] are Dart values.
698 */ 698 */
699 bool isIdentical(var s, var t) => JS('bool', '# === #', s, t); 699 bool isIdentical(var s, var t) => JS('bool', '# === #', s, t);
700 700
701 /** 701 /**
702 * Returns [:true:] if the JavaScript values [s] and [t] are not identical. We 702 * Returns [:true:] if the JavaScript values [s] and [t] are not identical. We
703 * use this helper to avoid generating code under the invalid assumption that 703 * use this helper to avoid generating code under the invalid assumption that
704 * [s] and [t] are Dart values. 704 * [s] and [t] are Dart values.
705 */ 705 */
706 bool isNotIdentical(var s, var t) => JS('bool', '# !== #', s, t); 706 bool isNotIdentical(var s, var t) => JS('bool', '# !== #', s, t);
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/js_primitives.dart ('k') | sdk/lib/_internal/compiler/js_lib/js_string.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698