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

Unified Diff: runtime/vm/object.cc

Issue 1566553003: More 0 => Scanner::kNoSourcePos. (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
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index be09844868acb2515de244464201d842f58331cf..85fdf7e4e2085c84d2dc8658a014b5614b83d281 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -2637,7 +2637,7 @@ RawFunction* Class::CreateInvocationDispatcher(const String& target_name,
false, // Not external.
false, // Not native.
*this,
- 0)); // No token position.
+ 0)); // token_pos
ArgumentsDescriptor desc(args_desc);
invocation.set_num_fixed_parameters(desc.PositionalCount());
invocation.SetNumOptionalParameters(desc.NamedCount(),
@@ -2694,7 +2694,7 @@ RawFunction* Function::CreateMethodExtractor(const String& getter_name) const {
false, // Not external.
false, // Not native.
owner,
- 0)); // No token position.
+ 0)); // token_pos
// Initialize signature: receiver is a single fixed parameter.
const intptr_t kNumParameters = 1;
@@ -6519,7 +6519,7 @@ RawFunction* Function::NewEvalFunction(const Class& owner,
/* is_external = */ false,
/* is_native = */ false,
owner,
- 0));
+ /* token_pos = */ 0));
ASSERT(!script.IsNull());
result.set_is_debuggable(false);
result.set_is_visible(true);
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698