Reviewers: ulan,

Description:
Call DisableInlineAllocation() in heap setup when flag inline_new is off.

BUG=

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

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

Affected files (+2, -0 lines):
  M src/heap/heap.cc


Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 416bcc82862bf4dcb403cc75a5afcf3daa2d4c32..f06ae20d98688b508c8f5919172a55583e10385e 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -5393,6 +5393,8 @@ bool Heap::SetUp() {

   mark_compact_collector()->SetUp();

+  if (!FLAG_inline_new) DisableInlineAllocation();
+
   return true;
 }



--
--
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