Version 3.12.3

Reverted r11835 'Unify promotion and allocation limit computation' due to V8 Splay performance regression on Mac.  (Chromium issue 134183)

Fixed sharing of literal boilerplates for optimized code.  (issue 2193)

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@11918 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/heap.cc b/src/heap.cc
index f3c53a1..d15d99d 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -118,8 +118,8 @@
       debug_utils_(NULL),
 #endif  // DEBUG
       new_space_high_promotion_mode_active_(false),
-      old_gen_promotion_limit_(kMinPromotionLimit),
-      old_gen_allocation_limit_(kMinAllocationLimit),
+      old_gen_promotion_limit_(kMinimumPromotionLimit),
+      old_gen_allocation_limit_(kMinimumAllocationLimit),
       old_gen_limit_factor_(1),
       size_of_old_gen_at_last_old_space_gc_(0),
       external_allocation_limit_(0),
@@ -829,9 +829,9 @@
     }
 
     old_gen_promotion_limit_ =
-        OldGenLimit(size_of_old_gen_at_last_old_space_gc_, kMinPromotionLimit);
+        OldGenPromotionLimit(size_of_old_gen_at_last_old_space_gc_);
     old_gen_allocation_limit_ =
-        OldGenLimit(size_of_old_gen_at_last_old_space_gc_, kMinAllocationLimit);
+        OldGenAllocationLimit(size_of_old_gen_at_last_old_space_gc_);
 
     old_gen_exhausted_ = false;
   } else {