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

Unified Diff: runtime/vm/weak_code.h

Issue 1559653002: Investigate & fix issues around usage_count and deoptimization_count (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: y Created 5 years 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/weak_code.h
diff --git a/runtime/vm/weak_code.h b/runtime/vm/weak_code.h
index 45298065600ec6bb7461f3138e973e974b8a5953..ea2d9c1593b71fd5233630bd359b7bf89303b743 100644
--- a/runtime/vm/weak_code.h
+++ b/runtime/vm/weak_code.h
@@ -31,8 +31,10 @@ class WeakCodeReferences : public ValueObject {
void DisableCode();
+ bool HasCodes() const;
+
private:
- const Array& array_;
+ const Array& array_; // Array of Code objects.
DISALLOW_COPY_AND_ASSIGN(WeakCodeReferences);
};
« runtime/vm/object.cc ('K') | « runtime/vm/object.cc ('k') | runtime/vm/weak_code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698