Index: pkg/compiler/lib/src/cps_ir/builtin_operator.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/builtin_operator.dart b/pkg/compiler/lib/src/cps_ir/builtin_operator.dart |
index 70fe1b6d949e84113af8de7d39a2e0ab8490a5dc..9010bc28caf22df774e00990f126f460a59fb720 100644 |
--- a/pkg/compiler/lib/src/cps_ir/builtin_operator.dart |
+++ b/pkg/compiler/lib/src/cps_ir/builtin_operator.dart |
@@ -47,7 +47,12 @@ enum BuiltinOperator { |
/// Returns true if the two arguments are the same value, and that value is |
/// not NaN, or if one argument is +0 and the other is -0. |
/// |
- /// At most one of the arguments may be null. |
+ /// Compiled as a static method call. |
+ Identical, |
+ |
+ /// Like [Identical], except at most one argument may be null. |
+ /// |
+ /// Compiles to `===`. |
StrictEq, |
/// Negated version of [StrictEq]. Introduced by [LogicalRewriter] in Tree IR. |
@@ -60,6 +65,8 @@ enum BuiltinOperator { |
/// One of the following must hold: |
/// - At least one argument is null. |
/// - Arguments are both strings, or both booleans, or both numbers. |
+ /// |
+ /// Compiles to `==`. |
LooseEq, |
/// Negated version of [LooseEq]. Introduced by [LogicalRewriter] in Tree IR. |
@@ -67,6 +74,8 @@ enum BuiltinOperator { |
/// Returns true if the argument is false, +0. -0, NaN, the empty string, |
/// or null. |
+ /// |
+ /// Compiles to `!`. |
IsFalsy, |
/// Returns true if the argument is a number. |