Version 3.4.2

More work on ES-Harmony proxies.  Still hidden behind a flag.

Fixed some crash bugs and improved performance.

Fixed building with gdb debugging support.

Do not install SIGPROF handler until it is needed.

Added DateTimeFormat to i18n API.

Fixed compilation on OpenBSD.

Take the ulimit into account when sizing the heap.  OpenBSD users
may still have to increase the default ulimit to run heavy pages in
the browser.
Review URL: http://codereview.chromium.org/6993057

git-svn-id: http://v8.googlecode.com/svn/trunk@8178 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/heap.h b/src/heap.h
index 7194a98..a6455e5 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -1054,6 +1054,8 @@
   enum HeapState { NOT_IN_GC, SCAVENGE, MARK_COMPACT };
   inline HeapState gc_state() { return gc_state_; }
 
+  inline bool IsInGCPostProcessing() { return gc_post_processing_depth_ > 0; }
+
 #ifdef DEBUG
   bool IsAllocationAllowed() { return allocation_allowed_; }
   inline bool allow_allocation(bool enable);
@@ -1277,6 +1279,7 @@
   CellSpace* cell_space_;
   LargeObjectSpace* lo_space_;
   HeapState gc_state_;
+  int gc_post_processing_depth_;
 
   // Returns the size of object residing in non new spaces.
   intptr_t PromotedSpaceSize();