Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: pkg/compiler/lib/src/compiler.dart

Issue 2810633003: Add kernel/closed_world2_test (Closed)
Patch Set: Add TODOs. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 157804d8d47f06eba501bde55bbe0fb0e57c9b9d..ba57653a7c998ceef954ab3d04cfb35e1fa68a1c 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -1716,7 +1716,7 @@ class CompilerResolution implements Resolution {
WorldImpact transformResolutionImpact(
Element element, ResolutionImpact resolutionImpact) {
WorldImpact worldImpact = _compiler.backend.impactTransformer
- .transformResolutionImpact(enqueuer, resolutionImpact);
+ .transformResolutionImpact(resolutionImpact);
_worldImpactCache[element] = worldImpact;
return worldImpact;
}
@@ -1822,6 +1822,9 @@ class _CompilerElementEnvironment implements ElementEnvironment {
FunctionEntity get mainFunction => _compiler.mainFunction;
@override
+ Iterable<LibraryEntity> get libraries => _compiler.libraryLoader.libraries;
+
+ @override
ResolutionInterfaceType getThisType(ClassElement cls) {
cls.ensureResolved(_resolution);
return cls.thisType;

Powered by Google App Engine
This is Rietveld 408576698