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

Unified Diff: sdk/lib/_internal/compiler/implementation/constants.dart

Issue 304153014: Remove element from DynamicType. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix infinite loop. Created 6 years, 7 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: sdk/lib/_internal/compiler/implementation/constants.dart
diff --git a/sdk/lib/_internal/compiler/implementation/constants.dart b/sdk/lib/_internal/compiler/implementation/constants.dart
index 2aea6ffd5bc657c8fe689753db2b2a82a83334ec..d0b9d14ef82389ec80c70cc7a0611b7363bd6a71 100644
--- a/sdk/lib/_internal/compiler/implementation/constants.dart
+++ b/sdk/lib/_internal/compiler/implementation/constants.dart
@@ -544,7 +544,7 @@ class InterceptorConstant extends Constant {
accept(ConstantVisitor visitor) => visitor.visitInterceptor(this);
- DartType computeType(Compiler compiler) => compiler.types.dynamicType;
+ DartType computeType(Compiler compiler) => const DynamicType();
ti.TypeMask computeMask(Compiler compiler) {
return compiler.typesTask.nonNullType;
@@ -573,7 +573,7 @@ class DummyConstant extends Constant {
accept(ConstantVisitor visitor) => visitor.visitDummy(this);
- DartType computeType(Compiler compiler) => compiler.types.dynamicType;
+ DartType computeType(Compiler compiler) => const DynamicType();
ti.TypeMask computeMask(Compiler compiler) => typeMask;

Powered by Google App Engine
This is Rietveld 408576698