Commit a91333df authored by mlippautz's avatar mlippautz Committed by Commit bot

[heap] Remove some more dead code in MC

BUG=

Review-Url: https://codereview.chromium.org/2833373003
Cr-Commit-Position: refs/heads/master@{#44817}
parent 1dec3198
...@@ -4124,9 +4124,6 @@ void MarkCompactCollector::StartSweepSpaces() { ...@@ -4124,9 +4124,6 @@ void MarkCompactCollector::StartSweepSpaces() {
heap_->lo_space()->FreeUnmarkedObjects(); heap_->lo_space()->FreeUnmarkedObjects();
} }
Isolate* MarkCompactCollector::isolate() const { return heap_->isolate(); }
void MarkCompactCollector::Initialize() { void MarkCompactCollector::Initialize() {
MarkCompactMarkingVisitor::Initialize(); MarkCompactMarkingVisitor::Initialize();
IncrementalMarking::Initialize(); IncrementalMarking::Initialize();
......
...@@ -566,16 +566,6 @@ class MarkCompactCollector final : public MarkCompactCollectorBase { ...@@ -566,16 +566,6 @@ class MarkCompactCollector final : public MarkCompactCollectorBase {
void AbortCompaction(); void AbortCompaction();
// Determine type of object and emit deletion log event.
static void ReportDeleteIfNeeded(HeapObject* obj, Isolate* isolate);
// Distinguishable invalid map encodings (for single word and multiple words)
// that indicate free regions.
static const uint32_t kSingleFreeEncoding = 0;
static const uint32_t kMultiFreeEncoding = 1;
inline Isolate* isolate() const;
CodeFlusher* code_flusher() { return code_flusher_; } CodeFlusher* code_flusher() { return code_flusher_; }
inline bool is_code_flushing_enabled() const { return code_flusher_ != NULL; } inline bool is_code_flushing_enabled() const { return code_flusher_ != NULL; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment