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

Unified Diff: pkg/compiler/lib/src/js_backend/constant_system_javascript.dart

Issue 2659883002: Use entities in BackendClasses (Closed)
Patch Set: Updated cf. comments. Created 3 years, 11 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
Index: pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
diff --git a/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart b/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
index 1571c41cf36605d1de71aec544a3c1993ed1582e..5f0b2666da3e36aba4b8b16347019fccf062cd53 100644
--- a/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
+++ b/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
@@ -320,9 +320,8 @@ class JavaScriptConstantSystem extends ConstantSystem {
@override
ConstantValue createType(Compiler compiler, ResolutionDartType type) {
- ResolutionInterfaceType instanceType = compiler
- .backend.backendClasses.typeImplementation
- .computeType(compiler.resolution);
+ ResolutionInterfaceType instanceType =
+ compiler.backend.backendClasses.typeType;
return new TypeConstantValue(type, instanceType);
}
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend_impact.dart ('k') | pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698