| Index: pkg/compiler/lib/src/dump_info.dart
|
| diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart
|
| index 135feba86107fea300ca9140db565910a53b20d6..082cd1c5eaa6ad3db405ea4ec22bbea41e485a2d 100644
|
| --- a/pkg/compiler/lib/src/dump_info.dart
|
| +++ b/pkg/compiler/lib/src/dump_info.dart
|
| @@ -598,7 +598,8 @@ class DumpInfoTask extends CompilerTask implements InfoReporter {
|
| result.deferredFiles = compiler.deferredLoadTask.computeDeferredMap();
|
| stopwatch.stop();
|
| result.program = new ProgramInfo(
|
| - entrypoint: infoCollector._elementToInfo[compiler.mainFunction],
|
| + entrypoint: infoCollector
|
| + ._elementToInfo[closedWorld.elementEnvironment.mainFunction],
|
| size: _programSize,
|
| dart2jsVersion:
|
| compiler.options.hasBuildId ? compiler.options.buildId : null,
|
|
|