Fix initialization of assert scopes.
authorbmeurer@chromium.org <bmeurer@chromium.org>
Mon, 29 Sep 2014 09:39:22 +0000 (09:39 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Mon, 29 Sep 2014 09:39:22 +0000 (09:39 +0000)
commitf6e97c90fb9c78639ad9d06040a95879fd6b9abc
treecba7d89ea8f153033310e3759a2585afb33c3ec4
parentb0fdeb1b2a3235fb95df0626ab236944d1596e79
Fix initialization of assert scopes.

The thread local key for assert scopes can be lazily initialized and
should be independent of the Isolate initialization. Also cleanup the
assert-scope.{cc,h} implementation while I was at it.

R=dcarney@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24275 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/assert-scope.cc
src/assert-scope.h
src/isolate.cc
src/test/run-all-unittests.cc