Index: runtime/vm/kernel_binary_flowgraph.h |
diff --git a/runtime/vm/kernel_binary_flowgraph.h b/runtime/vm/kernel_binary_flowgraph.h |
index daf12245225fbe6557dff61427841f0bb4142a09..88a184f9587f5e022b93ad7e6fd70a83cc6c8127 100644 |
--- a/runtime/vm/kernel_binary_flowgraph.h |
+++ b/runtime/vm/kernel_binary_flowgraph.h |
@@ -414,6 +414,7 @@ class StreamingFlowGraphBuilder { |
void SkipVariableDeclaration(); |
void SkipLibraryCombinator(); |
void SkipLibraryDependency(); |
+ void SkipLibraryPart(); |
void SkipLibraryTypedef(); |
TokenPosition ReadPosition(bool record = true); |
void record_token_position(TokenPosition position); |
@@ -1425,6 +1426,7 @@ class LibraryHelper { |
kSourceUriIndex, |
kAnnotations, |
kDependencies, |
+ kParts, |
kTypedefs, |
kClasses, |
kToplevelField, |
@@ -1472,6 +1474,13 @@ class LibraryHelper { |
} |
if (++next_read_ == field) return; |
} |
+ case kParts: { |
+ intptr_t part_count = builder_->ReadUInt(); // read list length. |
+ for (intptr_t i = 0; i < part_count; ++i) { |
+ builder_->SkipLibraryPart(); |
+ } |
+ if (++next_read_ == field) return; |
+ } |
case kTypedefs: { |
intptr_t typedef_count = |
builder_->ReadListLength(); // read list length. |