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

Unified Diff: vm/raw_object_snapshot.cc

Issue 10535180: Allow implicit 'close your eyes' of native methods. This will hopefully fix issue 3466. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 6 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 | « vm/raw_object.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/raw_object_snapshot.cc
===================================================================
--- vm/raw_object_snapshot.cc (revision 8752)
+++ vm/raw_object_snapshot.cc (working copy)
@@ -432,6 +432,7 @@
func.set_is_static(reader->Read<bool>());
func.set_is_const(reader->Read<bool>());
func.set_is_optimizable(reader->Read<bool>());
+ func.set_is_native(reader->Read<bool>());
// Set all the object fields.
// TODO(5411462): Need to assert No GC can happen here, even though
@@ -470,6 +471,7 @@
writer->Write<bool>(ptr()->is_static_);
writer->Write<bool>(ptr()->is_const_);
writer->Write<bool>(ptr()->is_optimizable_);
+ writer->Write<bool>(ptr()->is_native_);
// Write out all the object pointer fields.
SnapshotWriterVisitor visitor(writer);
« no previous file with comments | « vm/raw_object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698