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

Unified Diff: pkg/kernel/lib/core_types.dart

Issue 2644543004: Revert "Improvements to the kernel tree shaker." (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « pkg/kernel/lib/class_hierarchy.dart ('k') | pkg/kernel/lib/target/vm.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/core_types.dart
diff --git a/pkg/kernel/lib/core_types.dart b/pkg/kernel/lib/core_types.dart
index 28ce858e35d891b08969c33208f083373b244464..790b3fd75dca028ad0d21ed8ae2bcef7608980c9 100644
--- a/pkg/kernel/lib/core_types.dart
+++ b/pkg/kernel/lib/core_types.dart
@@ -25,9 +25,8 @@ class CoreTypes {
Class internalSymbolClass;
Class typeClass;
Class functionClass;
- Class invocationClass;
- Library getCoreLibrary(String uri) => _dartLibraries[uri]?.library;
+ Library getCoreLibrary(String uri) => _dartLibraries[uri].library;
Class getCoreClass(String libraryUri, String className) {
return _dartLibraries[libraryUri].require(className);
@@ -64,7 +63,6 @@ class CoreTypes {
symbolClass = dartCore.require('Symbol');
typeClass = dartCore.require('Type');
functionClass = dartCore.require('Function');
- invocationClass = dartCore.require('Invocation');
futureClass = dartAsync.require('Future');
streamClass = dartAsync.require('Stream');
internalSymbolClass = dartInternal.require('Symbol');
« no previous file with comments | « pkg/kernel/lib/class_hierarchy.dart ('k') | pkg/kernel/lib/target/vm.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698