Index: src/mark-compact.h |
diff --git a/src/mark-compact.h b/src/mark-compact.h |
index 254f175b6cc0a2a6330048fc8f4af25c334ea962..e0a7d9495633365d4746868cd4b026d8fcfb1878 100644 |
--- a/src/mark-compact.h |
+++ b/src/mark-compact.h |
@@ -383,6 +383,10 @@ class SlotsBuffer { |
}; |
+// Defined in isolate.h. |
+class ThreadLocalTop; |
+ |
+ |
// ------------------------------------------------------------------------- |
// Mark-Compact collector |
class MarkCompactCollector { |
@@ -603,6 +607,14 @@ class MarkCompactCollector { |
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. |