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

Unified Diff: runtime/lib/mirrors.cc

Issue 1589643002: Source positions for constructors and lots of async machinery (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/observatory/tests/service/coverage_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/mirrors.cc
diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc
index 05453f8b1a78ce9a7c0f7bf018944af36cc77acb..a30df6bcd38c780af61edab69c7632542b48c2a9 100644
--- a/runtime/lib/mirrors.cc
+++ b/runtime/lib/mirrors.cc
@@ -1482,7 +1482,7 @@ DEFINE_NATIVE_ENTRY(ClosureMirror_function, 1) {
TypeArguments::Handle(Closure::GetTypeArguments(closure));
const Class& cls =
Class::Handle(Isolate::Current()->object_store()->object_class());
- instantiator = Type::New(cls, arguments, Scanner::kNoSourcePos);
+ instantiator = Type::New(cls, arguments, Token::kNoSourcePos);
instantiator.SetIsFinalized();
}
return CreateMethodMirror(function,
@@ -2003,7 +2003,7 @@ DEFINE_NATIVE_ENTRY(DeclarationMirror_location, 1) {
}
Script& script = Script::Handle();
- intptr_t token_pos = Scanner::kNoSourcePos;
+ intptr_t token_pos = Token::kNoSourcePos;
if (decl.IsFunction()) {
const Function& func = Function::Cast(decl);
@@ -2058,7 +2058,7 @@ DEFINE_NATIVE_ENTRY(DeclarationMirror_location, 1) {
}
ASSERT(!script.IsNull());
- ASSERT(token_pos != Scanner::kNoSourcePos);
+ ASSERT(token_pos != Token::kNoSourcePos);
const String& uri = String::Handle(script.url());
intptr_t from_line = 0;
« no previous file with comments | « no previous file | runtime/observatory/tests/service/coverage_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698