| Index: runtime/vm/kernel_binary_flowgraph.cc
|
| diff --git a/runtime/vm/kernel_binary_flowgraph.cc b/runtime/vm/kernel_binary_flowgraph.cc
|
| index 0ac620dbefe7e43a9048f9d3b935187d41a2725e..d260874d4aa122b02bb9da79705624d29825fa92 100644
|
| --- a/runtime/vm/kernel_binary_flowgraph.cc
|
| +++ b/runtime/vm/kernel_binary_flowgraph.cc
|
| @@ -618,6 +618,7 @@ void StreamingScopeBuilder::VisitExpression() {
|
| case kFunctionExpression: {
|
| intptr_t offset =
|
| builder_->ReaderOffset() - 1; // -1 to include tag byte.
|
| + builder_->ReadPosition(); // read position.
|
| HandleLocalFunction(offset); // read function node.
|
| return;
|
| }
|
| @@ -3956,6 +3957,7 @@ void StreamingFlowGraphBuilder::SkipExpression() {
|
| return;
|
| }
|
| case kFunctionExpression:
|
| + ReadPosition(); // read position.
|
| SkipFunctionNode(); // read function node.
|
| return;
|
| case kLet:
|
| @@ -5738,6 +5740,7 @@ Fragment StreamingFlowGraphBuilder::BuildMapLiteral(bool is_const,
|
| }
|
|
|
| Fragment StreamingFlowGraphBuilder::BuildFunctionExpression() {
|
| + ReadPosition(); // read position.
|
| return BuildFunctionNode(TokenPosition::kNoSource, StringIndex());
|
| }
|
|
|
|
|