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

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

Issue 2938193003: Revert "Towards compiling Hello World!" and "Compile and run Hello World!" (Closed)
Patch Set: Created 3 years, 6 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 | « tests/compiler/dart2js/kernel/run_from_dill_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_representation_test.dart
diff --git a/tests/compiler/dart2js/type_representation_test.dart b/tests/compiler/dart2js/type_representation_test.dart
index e577d18e9f079fdb0d8c0df2779b1738879e9946..0a345a6b06873f3c61592df08b07f048031151a9 100644
--- a/tests/compiler/dart2js/type_representation_test.dart
+++ b/tests/compiler/dart2js/type_representation_test.dart
@@ -46,7 +46,14 @@ void testTypeRepresentations() {
""").then((env) {
var closedWorldRefiner = env.compiler.closeResolution();
var closedWorld = closedWorldRefiner.closedWorld;
- env.compiler.startCodegen(closedWorld);
+ env.compiler.enqueuer.createCodegenEnqueuer(closedWorld);
+ env.compiler.backend.onCodegenStart(
+ closedWorld,
+ new ElementCodegenWorldBuilderImpl(
+ closedWorld.elementEnvironment,
+ env.compiler.backend.nativeBasicData,
+ closedWorld,
+ const TypeMaskStrategy()));
TypeRepresentationGenerator typeRepresentation =
new TypeRepresentationGenerator(env.compiler.backend.namer);
« no previous file with comments | « tests/compiler/dart2js/kernel/run_from_dill_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698