Index: tests/compiler/dart2js/dictionary_types_test.dart |
diff --git a/tests/compiler/dart2js/dictionary_types_test.dart b/tests/compiler/dart2js/dictionary_types_test.dart |
index 11734e1247b87b52423f8fafd74dd6630bf281b5..f173c232674e9af7a252416f2a03baf80b90377c 100644 |
--- a/tests/compiler/dart2js/dictionary_types_test.dart |
+++ b/tests/compiler/dart2js/dictionary_types_test.dart |
@@ -147,7 +147,7 @@ compileAndTest(source, checker, {createCode: false}) async { |
checker(typesTask, getType, compiler); |
} else { |
var element = compiler.mainFunction; |
- var code = compiler.backend.assembleCode(element); |
+ var code = compiler.backend.getGeneratedCode(element); |
checker(code); |
} |
} |