Index: tests/compiler/dart2js/js_spec_optimization_test.dart |
diff --git a/tests/compiler/dart2js/js_spec_optimization_test.dart b/tests/compiler/dart2js/js_spec_optimization_test.dart |
index 078104fe67475bc750f024d3f78ea55ee0eb6097..8c83b3bcf6ba93da7d834679e1421db32c04174a 100644 |
--- a/tests/compiler/dart2js/js_spec_optimization_test.dart |
+++ b/tests/compiler/dart2js/js_spec_optimization_test.dart |
@@ -70,7 +70,7 @@ main() { |
return compiler.runCompiler(uri).then((_) { |
var element = findElement(compiler, 'main'); |
var backend = compiler.backend; |
- String generated = backend.assembleCode(element); |
+ String generated = backend.getGeneratedCode(element); |
for (Match match in directivePattern.allMatches(test)) { |
String directive = match.group(1); |