From f320fe9471abbcba047d5478cccf1bd6e4ec2ece Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Wed, 9 Apr 2014 15:38:45 +0000 Subject: [PATCH] Remove unused function typedefs. R=hpayer@chromium.org Review URL: https://codereview.chromium.org/230833002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20630 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/mark-compact.h | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/mark-compact.h b/src/mark-compact.h index 0ebe8a0..253d528 100644 --- a/src/mark-compact.h +++ b/src/mark-compact.h @@ -536,35 +536,6 @@ class ThreadLocalTop; // Mark-Compact collector class MarkCompactCollector { public: - // Type of functions to compute forwarding addresses of objects in - // compacted spaces. Given an object and its size, return a (non-failure) - // Object* that will be the object after forwarding. There is a separate - // allocation function for each (compactable) space based on the location - // of the object before compaction. - typedef MaybeObject* (*AllocationFunction)(Heap* heap, - HeapObject* object, - int object_size); - - // Type of functions to encode the forwarding address for an object. - // Given the object, its size, and the new (non-failure) object it will be - // forwarded to, encode the forwarding address. For paged spaces, the - // 'offset' input/output parameter contains the offset of the forwarded - // object from the forwarding address of the previous live object in the - // page as input, and is updated to contain the offset to be used for the - // next live object in the same page. For spaces using a different - // encoding (i.e., contiguous spaces), the offset parameter is ignored. - typedef void (*EncodingFunction)(Heap* heap, - HeapObject* old_object, - int object_size, - Object* new_object, - int* offset); - - // Type of functions to process non-live objects. - typedef void (*ProcessNonLiveFunction)(HeapObject* object, Isolate* isolate); - - // Pointer to member function, used in IterateLiveObjects. - typedef int (MarkCompactCollector::*LiveObjectCallback)(HeapObject* obj); - // Set the global flags, it must be called before Prepare to take effect. inline void SetFlags(int flags); -- 2.7.4