Index: runtime/vm/kernel_binary_flowgraph.h |
diff --git a/runtime/vm/kernel_binary_flowgraph.h b/runtime/vm/kernel_binary_flowgraph.h |
index f3cce6b2d2fabf7a09aa32bbd121a3baf1d7e57b..dfce124530183c6ab507e08488379d8da6515cee 100644 |
--- a/runtime/vm/kernel_binary_flowgraph.h |
+++ b/runtime/vm/kernel_binary_flowgraph.h |
@@ -87,6 +87,7 @@ class StreamingDartTypeTranslator { |
bool finalize_; |
friend class StreamingScopeBuilder; |
+ friend class KernelReader; |
}; |
@@ -381,6 +382,7 @@ class StreamingFlowGraphBuilder { |
const dart::String& ReadNameAsMethodName(); |
const dart::String& ReadNameAsGetterName(); |
const dart::String& ReadNameAsSetterName(); |
+ const dart::String& ReadNameAsFieldName(); |
void SkipStringReference(); |
void SkipCanonicalNameReference(); |
void SkipDartType(); |
@@ -613,6 +615,8 @@ class StreamingFlowGraphBuilder { |
friend class ProcedureHelper; |
friend class ClassHelper; |
friend class ConstructorHelper; |
+ friend class SimpleExpressionConverter; |
+ friend class KernelReader; |
}; |
// Helper class that reads a kernel FunctionNode from binary. |
@@ -1130,6 +1134,13 @@ class ConstructorHelper { |
++next_read_; |
} |
+ bool IsExternal() { |
+ return (flags_ & Constructor::kFlagExternal) == Constructor::kFlagExternal; |
+ } |
+ bool IsConst() { |
+ return (flags_ & Constructor::kFlagConst) == Constructor::kFlagConst; |
+ } |
+ |
NameIndex canonical_name_; |
TokenPosition position_; |
TokenPosition end_position_; |