Index: test/codegen/expect/misc.js |
diff --git a/test/codegen/expect/misc.js b/test/codegen/expect/misc.js |
index 417191ea66ace944b1d1f4a1b8678978b48ef6a4..6dbb5df9222dbb242f4f18a08e6f87df4fa4d7d6 100644 |
--- a/test/codegen/expect/misc.js |
+++ b/test/codegen/expect/misc.js |
@@ -28,7 +28,7 @@ dart_library.library('misc', null, /* Imports */[ |
this.y = 2; |
} |
['=='](obj) { |
- return dart.is(obj, Base) && dart.equals(dart.dload(obj, 'x'), this.x) && dart.equals(dart.dload(obj, 'y'), this.y); |
+ return dart.is(obj, Base) && obj.x == this.x && obj.y == this.y; |
} |
} |
class Derived extends core.Object { |
@@ -36,7 +36,7 @@ dart_library.library('misc', null, /* Imports */[ |
this.z = 3; |
} |
['=='](obj) { |
- return dart.is(obj, Derived) && dart.equals(dart.dload(obj, 'z'), this.z) && super['=='](obj); |
+ return dart.is(obj, Derived) && obj.z == this.z && super['=='](obj); |
} |
} |
function _isWhitespace(ch) { |