diff options
Diffstat (limited to 'deps/v8/src/mark-compact.h')
-rw-r--r-- | deps/v8/src/mark-compact.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/deps/v8/src/mark-compact.h b/deps/v8/src/mark-compact.h index 254f175b6c..e0a7d94956 100644 --- a/deps/v8/src/mark-compact.h +++ b/deps/v8/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. |