Index: tests/compiler/dart2js/codegen_helper.dart |
diff --git a/tests/compiler/dart2js/codegen_helper.dart b/tests/compiler/dart2js/codegen_helper.dart |
index 151244294912b51f678324515f5e37d74c69c277..36fadff57c4d79740f8978a15229b05e9554b275 100644 |
--- a/tests/compiler/dart2js/codegen_helper.dart |
+++ b/tests/compiler/dart2js/codegen_helper.dart |
@@ -31,7 +31,7 @@ Future<Map<String, String>> generate(String code, |
for (var element in backend.generatedCode.keys) { |
if (element.compilationUnit.script.readableUri != uri) continue; |
var name = element.name; |
- var code = backend.assembleCode(element); |
+ var code = backend.getGeneratedCode(element); |
result[name] = code; |
} |
return result; |