Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Unified Diff: src/heap/mark-compact.h

Issue 2798333002: [heap] Fix page promotions tests (Closed)
Patch Set: Address comment Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/heap/page-parallel-job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index d54469a8a7bdd82c2348384fc0212154ceaf6778..2ebf4a720c19a5dd0e55779584f6d26039c7ab86 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -423,10 +423,11 @@ class MinorMarkCompactCollector {
void CollectGarbage();
+ inline Heap* heap() const { return heap_; }
+
private:
class RootMarkingVisitor;
- inline Heap* heap() { return heap_; }
inline Isolate* isolate() { return heap()->isolate(); }
inline MarkingDeque* marking_deque() { return &marking_deque_; }
« no previous file with comments | « no previous file | src/heap/page-parallel-job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698