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

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

Issue 2724223005: Register inlining as a StaticUse (Closed)
Patch Set: Created 3 years, 10 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/compiler/lib/src/ssa/builder.dart ('k') | pkg/compiler/lib/src/universe/resolution_world_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/universe/codegen_world_builder.dart
diff --git a/pkg/compiler/lib/src/universe/codegen_world_builder.dart b/pkg/compiler/lib/src/universe/codegen_world_builder.dart
index c0d7f985f491430515ce75b74f89dcdfe76f2662..cbbad41203cd3d74734c00c4356732c0425aa4e9 100644
--- a/pkg/compiler/lib/src/universe/codegen_world_builder.dart
+++ b/pkg/compiler/lib/src/universe/codegen_world_builder.dart
@@ -355,6 +355,7 @@ class CodegenWorldBuilderImpl implements CodegenWorldBuilder {
case StaticUseKind.CONST_CONSTRUCTOR_INVOKE:
case StaticUseKind.REDIRECTION:
case StaticUseKind.DIRECT_INVOKE:
+ case StaticUseKind.INLINING:
break;
}
}
@@ -403,6 +404,8 @@ class CodegenWorldBuilderImpl implements CodegenWorldBuilder {
?.remove(instanceUsage);
useSet.addAll(usage.normalUse());
break;
+ case StaticUseKind.INLINING:
+ break;
}
if (useSet.isNotEmpty) {
memberUsed(usage.entity, useSet);
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder.dart ('k') | pkg/compiler/lib/src/universe/resolution_world_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698