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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 10912146: Finish implementing lazy deoptimization (ia32, x64). Ran tests with --deoptimize-alot. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/dart_api_impl.cc
===================================================================
--- runtime/vm/dart_api_impl.cc (revision 12015)
+++ runtime/vm/dart_api_impl.cc (working copy)
@@ -3782,6 +3782,9 @@
// only the necessary ones.
static void RemoveOptimizedCode() {
ASSERT(FLAG_use_cha);
+ // Deoptimize live frames.
siva 2012/09/07 23:16:17 Deoptimize all live frames?
srdjan 2012/09/12 06:15:26 Done.
+ DeoptimizeAll();
+ // Switch all functions' code to unoptimized.
const ClassTable& class_table = *Isolate::Current()->class_table();
Class& cls = Class::Handle();
Array& array = Array::Handle();

Powered by Google App Engine
This is Rietveld 408576698