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

BUG=

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

Cr-Commit-Position: refs/heads/master@{#25819}
This commit is contained in:
hpayer 2014-12-15 06:01:57 -08:00 committed by Commit bot
parent 75484e8d16
commit e3479c553c

View File

@ -2148,6 +2148,8 @@ bool Isolate::Init(Deserializer* des) {
initialized_from_snapshot_ = (des != NULL);
if (!FLAG_inline_new) heap_.DisableInlineAllocation();
return true;
}