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

Unified Diff: runtime/vm/cha.h

Issue 150923002: Mark optimized code that used CHA for optimization so that lazy class 'finalization' does not inval… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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 | « no previous file | runtime/vm/cha.cc » ('j') | runtime/vm/isolate.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cha.h
===================================================================
--- runtime/vm/cha.h (revision 32284)
+++ runtime/vm/cha.h (working copy)
@@ -19,6 +19,10 @@
// Returns true if the class given by its cid has subclasses.
static bool HasSubclasses(intptr_t cid);
+ // Use only on known private classes that can never be subclassed by lazy
+ // class finalization. Does not affect Isolate::use_cha flag.
+ static bool HasSubclassesSafe(intptr_t cid);
+
// Returns an array containing the cids of the direct and indirect subclasses
// of the class given by its cid.
// Must not be called for kInstanceCid.
« no previous file with comments | « no previous file | runtime/vm/cha.cc » ('j') | runtime/vm/isolate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698