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

Unified Diff: runtime/vm/object.cc

Issue 23903034: - Disallow copy constructors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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/json_test.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
===================================================================
--- runtime/vm/object.cc (revision 27344)
+++ runtime/vm/object.cc (working copy)
@@ -7432,7 +7432,7 @@
if (ref) return;
jsobj.AddProperty("url", library_url);
{
- JSONArray jsarr(jsobj, "classes");
+ JSONArray jsarr(&jsobj, "classes");
ClassDictionaryIterator class_iter(*this);
Class& klass = Class::Handle();
while (class_iter.HasNext()) {
@@ -7441,7 +7441,7 @@
}
}
{
- JSONArray jsarr(jsobj, "libraries");
+ JSONArray jsarr(&jsobj, "libraries");
Library& lib = Library::Handle();
for (intptr_t i = 0; i < num_imports(); i++) {
lib = ImportLibraryAt(i);
@@ -8938,7 +8938,7 @@
jsobj.AddProperty("is_optimized", is_optimized());
jsobj.AddProperty("is_alive", is_alive());
jsobj.AddProperty("function", Object::Handle(function()));
- JSONArray jsarr(jsobj, "disassembly");
+ JSONArray jsarr(&jsobj, "disassembly");
DisassembleToJSONStream formatter(jsarr);
const Instructions& instr = Instructions::Handle(instructions());
uword start = instr.EntryPoint();
« no previous file with comments | « runtime/vm/json_test.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698