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

Unified Diff: runtime/vm/object.cc

Issue 64173005: Deoptimize closure functions in DeoptimizeWorld. This was causing (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « 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/object.cc
===================================================================
--- runtime/vm/object.cc (revision 30061)
+++ runtime/vm/object.cc (working copy)
@@ -1506,6 +1506,8 @@
RawString* Class::Name() const {
+ // TODO(turnidge): This assert fails for the fake kFreeListElement class.
+ // Fix this.
ASSERT(raw_ptr()->name_ != String::null());
return raw_ptr()->name_;
}
@@ -4289,7 +4291,8 @@
RawFunction* Function::implicit_closure_function() const {
if (IsClosureFunction() ||
IsSignatureFunction() ||
- IsStaticInitializerFunction()) {
+ IsStaticInitializerFunction() ||
+ IsFactory()) {
return Function::null();
}
const Object& obj = Object::Handle(raw_ptr()->data_);
« 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