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

Unified Diff: runtime/vm/object_service.cc

Issue 1722733002: In background compilation make a copy of Field in order to freeze its state (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: s Created 4 years, 10 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 | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_service.cc
diff --git a/runtime/vm/object_service.cc b/runtime/vm/object_service.cc
index b71a58cbab53b211dfad4f57928aeba75a0ab988..ba631346ec4cb2192ad158767cf29faec4cf8ed7 100644
--- a/runtime/vm/object_service.cc
+++ b/runtime/vm/object_service.cc
@@ -334,7 +334,7 @@ void RedirectionData::PrintJSONImpl(JSONStream* stream, bool ref) const {
void Field::PrintJSONImpl(JSONStream* stream, bool ref) const {
JSONObject jsobj(stream);
- Class& cls = Class::Handle(owner());
+ Class& cls = Class::Handle(Owner());
String& field_name = String::Handle(name());
field_name = String::EncodeIRI(field_name);
AddCommonObjectProperties(&jsobj, "Field", ref);
@@ -382,8 +382,8 @@ void Field::PrintJSONImpl(JSONStream* stream, bool ref) const {
} else {
jsobj.AddProperty("_guardLength", guarded_list_length());
}
- const Class& origin_cls = Class::Handle(origin());
- const Script& script = Script::Handle(origin_cls.script());
+ const Class& origin_cls = Class::Handle(Origin());
+ const class Script& script = Script::Handle(origin_cls.script());
if (!script.IsNull()) {
jsobj.AddLocation(script, token_pos());
}
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698