Index: pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart |
index 7df112dd9868ad07913251c94f7b3b891f0b4517..56b1e2977fa6c932a67e0c98673a08cdb608fc01 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart |
@@ -137,8 +137,8 @@ jsAst.Statement buildSetupProgram(Program program, Compiler compiler, |
'objectClassName': |
js.quoteName(namer.runtimeTypeName(compiler.coreClasses.objectClass)), |
'needsStructuredMemberInfo': emitter.needsStructuredMemberInfo, |
- 'usesMangledNames': |
- compiler.mirrorsLibrary != null || compiler.enabledFunctionApply, |
+ 'usesMangledNames': compiler.commonElements.mirrorsLibrary != null || |
+ compiler.enabledFunctionApply, |
'tearOffCode': buildTearOffCode(backend), |
'nativeInfoHandler': nativeInfoHandler, |
'operatorIsPrefix': js.string(namer.operatorIsPrefix), |