[heap] Remove obsolete DisallowAllocationFailure scope.
authormstarzinger <mstarzinger@chromium.org>
Tue, 8 Sep 2015 14:42:27 +0000 (07:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 8 Sep 2015 14:42:44 +0000 (14:42 +0000)
commit6f454aa1a8891125583d5b16e1b45656643df182
tree2246f4de34b68b4ebec9e086238bb76e05495acf
parenta93ffde366ee1d8bc42827f7e10f9ff20c2df065
[heap] Remove obsolete DisallowAllocationFailure scope.

This removes the DisallowAllocationFailure assertion scope which mostly
coincided with the AlwaysAllocateScope anyways. Access to the bitfield
in the Isolate was not synchronized and hence the AlwaysAllocateScope
was not thread-safe in debug mode, now it is.

R=mlippautz@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#30637}
src/assert-scope.cc
src/assert-scope.h
src/heap/heap-inl.h
src/heap/heap.h
src/isolate.cc