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

Unified Diff: runtime/vm/object.h

Issue 15779006: Add deoptimization history to optimized functions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 23072)
+++ runtime/vm/object.h (working copy)
@@ -1278,6 +1278,9 @@
static intptr_t code_offset() { return OFFSET_OF(RawFunction, code_); }
inline bool HasCode() const;
+ RawArray* deopt_history() const { return raw_ptr()->deopt_history_; }
+ void set_deopt_history(const Array& value) const;
+
// Returns true if there is at least one debugger breakpoint
// set in this function.
bool HasBreakpoint() const;

Powered by Google App Engine
This is Rietveld 408576698