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

Unified Diff: pkg/compiler/lib/src/serialization/modelz.dart

Issue 1896843002: Store and serialize NativeBehavior in TreeElements. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 4 years, 8 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/serialization/modelz.dart
diff --git a/pkg/compiler/lib/src/serialization/modelz.dart b/pkg/compiler/lib/src/serialization/modelz.dart
index ce0fc988ecd307980f6efd0d32bda5e408ca48ce..126fa129501eb44d21005749b34c41f41aa6b3e0 100644
--- a/pkg/compiler/lib/src/serialization/modelz.dart
+++ b/pkg/compiler/lib/src/serialization/modelz.dart
@@ -251,8 +251,10 @@ abstract class AnalyzableElementMixin implements AnalyzableElement, ElementZ {
}
abstract class AstElementMixin implements AstElement, ElementZ {
+ // TODO(johnniwinther): This is needed for the token invariant assertion. Find
+ // another way to bypass the test for modelz.
@override
- bool get hasNode => _unsupported('hasNode');
+ bool get hasNode => false;
@override
bool get hasResolvedAst => _unsupported('hasResolvedAst');
« no previous file with comments | « pkg/compiler/lib/src/serialization/keys.dart ('k') | pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698