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_; |