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

Unified Diff: tests/compiler/dart2js/mock_libraries.dart

Issue 1381793002: Revert "dart2js: improve ssa utilization of bool value types" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/types/value_type_mask.dart ('k') | tests/compiler/dart2js/source_mapping_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mock_libraries.dart
diff --git a/tests/compiler/dart2js/mock_libraries.dart b/tests/compiler/dart2js/mock_libraries.dart
index 95bb3fbe5d2d76fd31cf31c013d20b8ae6e6a80f..957cb561942d9cf0a08ed98bb56f80eac68e3cf9 100644
--- a/tests/compiler/dart2js/mock_libraries.dart
+++ b/tests/compiler/dart2js/mock_libraries.dart
@@ -347,11 +347,11 @@ const Map<String, String> DEFAULT_INTERCEPTORS_LIBRARY = const <String, String>{
operator &(other) => 42;
operator ^(other) => 42;
- operator >(other) => !identical(this, other);
- operator >=(other) => !identical(this, other);
- operator <(other) => !identical(this, other);
- operator <=(other) => !identical(this, other);
- operator ==(other) => identical(this, other);
+ operator >(other) => true;
+ operator >=(other) => true;
+ operator <(other) => true;
+ operator <=(other) => true;
+ operator ==(other) => true;
get hashCode => throw "JSNumber.hashCode not implemented.";
// We force side effects on _tdivFast to mimic the shortcomings of
« no previous file with comments | « pkg/compiler/lib/src/types/value_type_mask.dart ('k') | tests/compiler/dart2js/source_mapping_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698