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

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

Issue 2991313002: Split ast based parts from InferrerEngineImpl (Closed)
Patch Set: Created 3 years, 4 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/inferrer/builder.dart ('k') | pkg/compiler/lib/src/inferrer/inferrer_engine.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/inferrer/builder_kernel.dart
diff --git a/pkg/compiler/lib/src/inferrer/builder_kernel.dart b/pkg/compiler/lib/src/inferrer/builder_kernel.dart
index 4eb9b3d4922d0ce42e0bc632f662a041f89c2083..24a9ddcdeab56688d00908c6d09df1d039ff599e 100644
--- a/pkg/compiler/lib/src/inferrer/builder_kernel.dart
+++ b/pkg/compiler/lib/src/inferrer/builder_kernel.dart
@@ -65,14 +65,14 @@ class KernelTypeGraphBuilder extends ir.Visitor<TypeInformation> {
new LocalsHandler(inferrer, types, compiler.options, node, fieldScope);
}
- factory KernelTypeGraphBuilder(MemberElement element, ResolvedAst resolvedAst,
- Compiler compiler, InferrerEngine inferrer,
+ factory KernelTypeGraphBuilder(
+ MemberElement element, Compiler compiler, InferrerEngine inferrer,
[LocalsHandler handler]) {
- var adapter = _createKernelAdapter(compiler, resolvedAst);
+ var adapter = _createKernelAdapter(compiler, element.resolvedAst);
var node = adapter.getMemberNode(element);
return new KernelTypeGraphBuilder.internal(
element,
- resolvedAst,
+ element.resolvedAst,
element.outermostEnclosingMemberOrTopLevel.implementation,
inferrer,
compiler,
« no previous file with comments | « pkg/compiler/lib/src/inferrer/builder.dart ('k') | pkg/compiler/lib/src/inferrer/inferrer_engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698