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

Unified Diff: tests/compiler/dart2js/kernel/compile_from_dill_test.dart

Issue 2954493002: Less inequivalence on Hello World! (Closed)
Patch Set: Updated cf. comments Created 3 years, 6 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 | « tests/compiler/dart2js/equivalence/check_helpers.dart ('k') | tests/compiler/dart2js/memory_compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/kernel/compile_from_dill_test.dart
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart
index e2defb673c1f02eaa1eed93ddd566514ca508202..701193943d447ba3b0c5d0dd0ba6c356cdc4e2ef 100644
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart
@@ -175,6 +175,13 @@ Future<ResultKind> mainInternal(List<String> args,
elementFilter: elementFilter,
verbose: arguments.verbose);
+ checkEmitters(compiler1.backend.emitter, compiler2.backend.emitter,
+ elementEquivalence: (a, b) => equivalence.entityEquivalence(a, b),
+ typeEquivalence: (DartType a, DartType b) {
+ return equivalence.typeEquivalence(unalias(a), b);
+ },
+ verbose: arguments.verbose);
+
print('--- checking output------- -----------------------------------------');
collector1.outputMap
.forEach((OutputType outputType, Map<String, BufferedOutputSink> map1) {
« no previous file with comments | « tests/compiler/dart2js/equivalence/check_helpers.dart ('k') | tests/compiler/dart2js/memory_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698