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

Unified Diff: runtime/vm/precompiler.cc

Issue 1644793002: Replace intptr_t with TokenDescriptor (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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: 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()));
}
}
« no previous file with comments | « runtime/vm/precompiler.h ('k') | runtime/vm/raw_object.h » ('j') | runtime/vm/token_descriptor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698