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

Unified Diff: vm/object.h

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
Index: vm/object.h
===================================================================
--- vm/object.h (revision 8699)
+++ vm/object.h (working copy)
@@ -1380,6 +1380,9 @@
}
void set_is_optimizable(bool value) const;
+ bool is_native() const { return raw_ptr()->is_native_; }
+ void set_is_native(bool value) const;
+
bool HasOptimizedCode() const;
intptr_t NumberOfParameters() const;

Powered by Google App Engine
This is Rietveld 408576698