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

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

Issue 2564823002: Remove CodegenEnqueuer.compiler (Closed)
Patch Set: Created 4 years 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/compiler/lib/src/js_backend/runtime_types.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/universe/world_builder.dart
diff --git a/pkg/compiler/lib/src/universe/world_builder.dart b/pkg/compiler/lib/src/universe/world_builder.dart
index f6992cd284eeeeba39d1b7ad491b206ec8382037..23855be70c10446c3745e74d3fa936ea4f497bcc 100644
--- a/pkg/compiler/lib/src/universe/world_builder.dart
+++ b/pkg/compiler/lib/src/universe/world_builder.dart
@@ -125,7 +125,7 @@ abstract class WorldBuilder {
/// Registers that [type] is checked in this universe. The unaliased type is
/// returned.
- DartType registerIsCheck(DartType type, Resolution resolution);
+ DartType registerIsCheck(DartType type);
/// All directly instantiated types, that is, the types of the directly
/// instantiated classes.
@@ -677,8 +677,8 @@ class ResolutionWorldBuilderImpl implements ResolutionWorldBuilder {
return constraints.addReceiverConstraint(mask);
}
- DartType registerIsCheck(DartType type, Resolution resolution) {
- type.computeUnaliased(resolution);
+ DartType registerIsCheck(DartType type) {
+ type.computeUnaliased(_resolution);
type = type.unaliased;
// Even in checked mode, type annotations for return type and argument
// types do not imply type checks, so there should never be a check
@@ -1118,7 +1118,7 @@ class CodegenWorldBuilderImpl implements CodegenWorldBuilder {
_invokedSetters.forEach(f);
}
- DartType registerIsCheck(DartType type, Resolution resolution) {
+ DartType registerIsCheck(DartType type) {
type = type.unaliased;
// Even in checked mode, type annotations for return type and argument
// types do not imply type checks, so there should never be a check
« no previous file with comments | « pkg/compiler/lib/src/js_backend/runtime_types.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698