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

Unified Diff: pkg/kernel/test/baseline_tester.dart

Issue 2665723002: Implement canonical name scheme in kernel. (Closed)
Patch Set: Address Kevin's comments 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/kernel/test/ast_membench.sh ('k') | pkg/kernel/test/closures/kernel_chain.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/test/baseline_tester.dart
diff --git a/pkg/kernel/test/baseline_tester.dart b/pkg/kernel/test/baseline_tester.dart
index e79251b4d3898f38f20abf33a07ee458ba0bf508..5ec746ee7db78045e36d289cea70c504e472b9d2 100644
--- a/pkg/kernel/test/baseline_tester.dart
+++ b/pkg/kernel/test/baseline_tester.dart
@@ -44,15 +44,15 @@ void runBaselineTests(String folderName, TestTarget target) {
String filenameOfBaseline = '$outputDirectory/$shortName.baseline.txt';
String filenameOfCurrent = '$outputDirectory/$shortName.current.txt';
- var repository = new Repository();
+ var program = new Program();
var loader = await batch.getLoader(
- repository,
+ program,
new DartOptions(
strongMode: target.strongMode,
sdk: sdkDirectory,
declaredVariables: target.extraDeclaredVariables,
applicationRoot: applicationRoot));
- var program = loader.loadProgram(dartPath, target: target);
+ loader.loadProgram(dartPath, target: target);
verifyProgram(program);
var errors = <String>[];
errors.addAll(target.performModularTransformations(program));
« no previous file with comments | « pkg/kernel/test/ast_membench.sh ('k') | pkg/kernel/test/closures/kernel_chain.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698