Index: runtime/vm/precompiler.cc |
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
index 2131fafdc551bda867454b23bafbf1b77f07f215..8dcef02d3709bfe19c34bd63f6c84057af0c3658 100644 |
--- a/runtime/vm/precompiler.cc |
+++ b/runtime/vm/precompiler.cc |
@@ -374,7 +374,7 @@ void Precompiler::ProcessFunction(const Function& function) { |
THR_Print("Precompiling %" Pd " %s (%" Pd ", %s)\n", |
function_count_, |
function.ToLibNamePrefixedQualifiedCString(), |
- function.token_pos(), |
+ function.token_pos().value(), |
Function::KindToCString(function.kind())); |
} |
@@ -391,7 +391,7 @@ void Precompiler::ProcessFunction(const Function& function) { |
// such as const constructors compiled by the parser. |
THR_Print("Already has code: %s (%" Pd ", %s)\n", |
function.ToLibNamePrefixedQualifiedCString(), |
- function.token_pos(), |
+ function.token_pos().value(), |
Function::KindToCString(function.kind())); |
} |
} |