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

Unified Diff: tests/compiler/dart2js/mock_compiler.dart

Issue 2721403006: Split NativeData (Closed)
Patch Set: Updated cf. comments. Created 3 years, 9 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/world.dart ('k') | tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index 63edc431b0af3692b3b9b04c4cae0f82d25796d1..2313a19943c35991f79b51c5c4145bca8520496b 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -221,7 +221,7 @@ class MockCompiler extends Compiler {
this.resolution,
element,
new ResolutionRegistry(
- this.backend, new CollectingTreeElements(element)),
+ this.backend.target, new CollectingTreeElements(element)),
scope:
new MockTypeVariablesScope(element.enclosingElement.buildScope()));
if (visitor.scope is LibraryScope ||
@@ -239,7 +239,7 @@ class MockCompiler extends Compiler {
this.resolution,
mockElement,
new ResolutionRegistry(
- this.backend, new CollectingTreeElements(mockElement)),
+ this.backend.target, new CollectingTreeElements(mockElement)),
scope: mockElement.enclosingElement.buildScope());
visitor.scope = new MethodScope(visitor.scope, mockElement);
return visitor;
« no previous file with comments | « pkg/compiler/lib/src/world.dart ('k') | tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698