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

Unified Diff: runtime/vm/raw_object.h

Issue 182703003: Cleanup native, collected, and stub code handling in profiler (Closed) Base URL: https://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
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index e876e666fef636cc5bc86dfd7d82d0d0552e6d9f..8b1de34109fd1c5aaeb4053e1eb46caa7738d0b3 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -816,7 +816,10 @@ class RawCode : public RawObject {
return reinterpret_cast<RawObject**>(&ptr()->instructions_);
}
RawInstructions* instructions_;
- RawFunction* function_;
+ RawObject* owner_; // Function, Null, or a smi (class id).
+ // If owner_ is Function::null() the owner is a regular stub.
+ // If owner_ is a cid the owner is the allocation stub for the cid.
+ // Else, owner_ is a regular Dart Function.
turnidge 2014/02/28 19:45:43 Can we put the comment above the declaration and g
Cutch 2014/02/28 19:48:08 Done.
RawExceptionHandlers* exception_handlers_;
RawPcDescriptors* pc_descriptors_;
RawArray* deopt_info_array_;

Powered by Google App Engine
This is Rietveld 408576698