From 95694f00a761bc088a1e4f54183561704289ec11 Mon Sep 17 00:00:00 2001 From: Michael Starzinger Date: Wed, 19 Aug 2015 19:39:09 +0200 Subject: [PATCH] [heap] Fix compilation of LargeObjectSpace on Windows. R=thakis@chromium.org, titzer@chromium.org Review URL: https://codereview.chromium.org/1288723005 . Cr-Commit-Position: refs/heads/master@{#30255} --- src/heap/spaces.cc | 3 +++ src/heap/spaces.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc index 6e487a14bbc..e66fd3944cf 100644 --- a/src/heap/spaces.cc +++ b/src/heap/spaces.cc @@ -2814,6 +2814,9 @@ LargeObjectSpace::LargeObjectSpace(Heap* heap, AllocationSpace id) chunk_map_(ComparePointers, 1024) {} +LargeObjectSpace::~LargeObjectSpace() {} + + bool LargeObjectSpace::SetUp() { first_page_ = NULL; size_ = 0; diff --git a/src/heap/spaces.h b/src/heap/spaces.h index 98e89ccad40..2ea2e909aa0 100644 --- a/src/heap/spaces.h +++ b/src/heap/spaces.h @@ -2702,7 +2702,7 @@ class MapSpace : public PagedSpace { class LargeObjectSpace : public Space { public: LargeObjectSpace(Heap* heap, AllocationSpace id); - virtual ~LargeObjectSpace() {} + virtual ~LargeObjectSpace(); // Initializes internal data structures. bool SetUp();