Index: src/mark-compact.h |
=================================================================== |
--- src/mark-compact.h (revision 10221) |
+++ src/mark-compact.h (working copy) |
@@ -96,6 +96,10 @@ |
}; |
+// Defined in isolate.h. |
+class ThreadLocalTop; |
+ |
+ |
// ------------------------------------------------------------------------- |
// Mark-Compact collector |
@@ -253,6 +257,14 @@ |
friend class CodeMarkingVisitor; |
friend class SharedFunctionInfoMarkingVisitor; |
+ // Mark non-optimize code for functions inlined into the given optimized |
+ // code. This will prevent it from being flushed. |
+ void MarkInlinedFunctionsCode(Code* code); |
+ |
+ // Mark code objects that are active on the stack to prevent them |
+ // from being flushed. |
+ void PrepareThreadForCodeFlushing(Isolate* isolate, ThreadLocalTop* top); |
+ |
void PrepareForCodeFlushing(); |
// Marking operations for objects reachable from roots. |