Commit 7e3f7361 authored by Dan Elphick's avatar Dan Elphick Committed by Commit Bot

[heap] Add override to FreeList destructors

Adds override annotation to FreeList subclass destructors.

Change-Id: I86034d381a408abe6e6c91ffb062999c0614799d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2161071
Commit-Queue: Dan Elphick <delphick@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Auto-Submit: Dan Elphick <delphick@chromium.org>
Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67316}
parent 50d53886
......@@ -1811,7 +1811,7 @@ class V8_EXPORT_PRIVATE FreeListLegacy : public FreeList {
inline Page* GetPageForSize(size_t size_in_bytes) override;
FreeListLegacy();
~FreeListLegacy();
~FreeListLegacy() override;
V8_WARN_UNUSED_RESULT FreeSpace Allocate(size_t size_in_bytes,
size_t* node_size,
......@@ -1895,7 +1895,7 @@ class V8_EXPORT_PRIVATE FreeListFastAlloc : public FreeList {
inline Page* GetPageForSize(size_t size_in_bytes) override;
FreeListFastAlloc();
~FreeListFastAlloc();
~FreeListFastAlloc() override;
V8_WARN_UNUSED_RESULT FreeSpace Allocate(size_t size_in_bytes,
size_t* node_size,
......@@ -1941,7 +1941,7 @@ class V8_EXPORT_PRIVATE FreeListMany : public FreeList {
Page* GetPageForSize(size_t size_in_bytes) override;
FreeListMany();
~FreeListMany();
~FreeListMany() override;
V8_WARN_UNUSED_RESULT FreeSpace Allocate(size_t size_in_bytes,
size_t* node_size,
......@@ -2137,7 +2137,7 @@ class V8_EXPORT_PRIVATE FreeListMap : public FreeList {
Page* GetPageForSize(size_t size_in_bytes) override;
FreeListMap();
~FreeListMap();
~FreeListMap() override;
V8_WARN_UNUSED_RESULT FreeSpace Allocate(size_t size_in_bytes,
size_t* node_size,
......
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