Call DisableInlineAllocation() in heap setup when flag inline_new is off.
authorhpayer <hpayer@chromium.org>
Mon, 15 Dec 2014 11:12:54 +0000 (03:12 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 15 Dec 2014 11:13:05 +0000 (11:13 +0000)
BUG=

Review URL: https://codereview.chromium.org/790353006

Cr-Commit-Position: refs/heads/master@{#25813}

src/heap/heap.cc

index 416bcc8..f06ae20 100644 (file)
@@ -5393,6 +5393,8 @@ bool Heap::SetUp() {
 
   mark_compact_collector()->SetUp();
 
+  if (!FLAG_inline_new) DisableInlineAllocation();
+
   return true;
 }