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

Unified Diff: runtime/vm/deopt_instructions.cc

Issue 16844011: Revert r23330 and r23136 because of a bug with loop invariant code motion. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/deopt_instructions.cc
===================================================================
--- runtime/vm/deopt_instructions.cc (revision 23951)
+++ runtime/vm/deopt_instructions.cc (working copy)
@@ -285,18 +285,6 @@
ic_data.set_deopt_reason(deopt_context->deopt_reason());
}
}
-
- const Array& deopt_history = Array::Handle(function.deopt_history());
- ASSERT(!deopt_history.IsNull());
- intptr_t count = function.deoptimization_counter();
- ASSERT(count > 0);
- if (count <= deopt_history.Length()) {
- deopt_history.SetAt(count - 1, Smi::Handle(Smi::New(deopt_id_)));
- if (FLAG_trace_deoptimization_verbose) {
- OS::Print(" adding id %"Pd" to history at %"Pd"\n",
- deopt_id_, count - 1);
- }
- }
}
intptr_t object_table_index() const { return object_table_index_; }
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698