Reviewers: titzer, Nico,

Description:
[heap] Fix compilation of LargeObjectSpace on Windows.

[email protected]

Please review this at https://codereview.chromium.org/1288723005/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+4, -1 lines):
  M src/heap/spaces.h
  M src/heap/spaces.cc


Index: src/heap/spaces.cc
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc
index 6e487a14bbc23abc993f59bacffe81e483244e47..e66fd3944cf57c91911013c137c6a91318edf243 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;
Index: src/heap/spaces.h
diff --git a/src/heap/spaces.h b/src/heap/spaces.h
index 98e89ccad40f118bd988bc8b7119d1970224c99b..2ea2e909aa0c9b567da8e0d280a56a84e48cc977 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();


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to