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

Unified Diff: runtime/vm/code_generator.h

Issue 8588002: Better tracing of deoptimization (added a reason id and printing of source). Fix a bug with exces... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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 | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/opt_code_generator_ia32.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator.h
===================================================================
--- runtime/vm/code_generator.h (revision 1585)
+++ runtime/vm/code_generator.h (working copy)
@@ -48,6 +48,33 @@
DECLARE_RUNTIME_ENTRY(TraceFunctionEntry);
DECLARE_RUNTIME_ENTRY(TraceFunctionExit);
+enum DeoptReasonId {
+ kDeoptUnknown,
+ kDeoptIncrLocal,
+ kDeoptIncrInstance,
+ kDeoptIncrInstanceOneClass,
+ kDeoptInstanceGetterSameTarget,
+ kDeoptInstanceGetter,
+ kDeoptStoreIndexed,
+ kDeoptCheckedInstanceCallSmiOnly,
+ kDeoptCheckedInstanceCallSmiFail,
+ kDeoptCheckedInstanceCallCheckFail,
+ kDeoptIntegerToDouble,
+ kDeoptDoubleToDouble,
+ kDeoptSmiBinaryOp,
+ kDeoptMintBinaryOp,
+ kDeoptDoubleBinaryOp,
+ kDeoptInstanceSetterSameTarget,
+ kDeoptInstanceSetter,
+ kDeoptSmiEquality,
+ kDeoptSmiCompareSmis,
+ kDeoptSmiCompareAny,
+ kDeoptEqualityNoFeedback,
+ kDeoptEqualityClassCheck,
+ kDeoptDoubleComparison,
+ kDeoptLoadIndexedFixedArray,
+ kDeoptLoadIndexedGrowableArray,
+};
// This class wraps around the array RawClass::functions_cache_.
// The structure of that array is specified by FunctionsCache::Entries.
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/opt_code_generator_ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698