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

Unified Diff: runtime/vm/deopt_instructions.cc

Issue 163433003: Handle contexts which have been optimized out. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review changes Created 6 years, 10 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/debugger.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/deopt_instructions.cc
diff --git a/runtime/vm/deopt_instructions.cc b/runtime/vm/deopt_instructions.cc
index 45bf7082fa6a71e585a24e71573dfe15879546bf..200ec7710b549e701e3b515800d5e2b16623e7f9 100644
--- a/runtime/vm/deopt_instructions.cc
+++ b/runtime/vm/deopt_instructions.cc
@@ -367,7 +367,9 @@ RawArray* DeoptContext::DestFrameAsArray() {
ASSERT(obj.IsNull() ||
obj.IsInstance() ||
obj.IsContext() ||
- obj.IsTypeArguments());
+ obj.IsTypeArguments() ||
+ obj.IsClass() || // TODO(turnidge): Ask around and find out why
+ obj.IsField()); // Class/Field show up here. Maybe type feedback?
dest_array.SetAt(i, obj);
}
return dest_array.raw();
« no previous file with comments | « runtime/vm/debugger.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698