Index: src/objects.h |
=================================================================== |
--- src/objects.h (revision 7428) |
+++ src/objects.h (working copy) |
@@ -3487,6 +3487,10 @@ |
void CodeVerify(); |
#endif |
+ // Returns the isolate/heap this code object belongs to. |
+ inline Isolate* isolate(); |
+ inline Heap* heap(); |
+ |
// Max loop nesting marker used to postpose OSR. We don't take loop |
// nesting that is deeper than 5 levels into account. |
static const int kMaxLoopNestingMarker = 6; |
@@ -6009,6 +6013,10 @@ |
kValueOffset + kPointerSize, |
kSize> BodyDescriptor; |
+ // Returns the isolate/heap this cell object belongs to. |
+ inline Isolate* isolate(); |
+ inline Heap* heap(); |
+ |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSGlobalPropertyCell); |
}; |