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

Unified Diff: runtime/vm/object.h

Issue 1292723002: Enable allocation tracing for classes owned by vm isolate (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 8d3ef5ed66909c3decd135ee913e2f07ba3a321c..cd6a81501df09a7d843f50f4901d829c47d54d55 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1366,9 +1366,7 @@ class Class : public Object {
RawArray* cha_codes() const { return raw_ptr()->cha_codes_; }
void set_cha_codes(const Array& value) const;
- bool trace_allocation() const {
- return TraceAllocationBit::decode(raw_ptr()->state_bits_);
Ivan Posva 2015/08/14 05:38:31 Is the TraceAllocationBit still needed in the clas
Cutch 2015/08/14 13:54:36 Done.
- }
+ bool TraceAllocation() const;
void SetTraceAllocation(bool trace_allocation) const;
private:

Powered by Google App Engine
This is Rietveld 408576698