Use boolean instead of Atomic32 for is_profiling_ flag
authoryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 26 Feb 2013 12:27:55 +0000 (12:27 +0000)
committeryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 26 Feb 2013 12:27:55 +0000 (12:27 +0000)
commitd394f31d72d8e6d1e35dc10c30bac8c270d0bf8a
tree0fbdbb5603ad0675d0237d675348717c439c14ef
parent52a015b1afd1ae1f76f2b05ba97ba121e208e7e0
Use boolean instead of Atomic32 for is_profiling_ flag

The field is only accessed on the JS thread so it can be converted into bool.

BUG=None

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13731 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/cpu-profiler.cc
src/cpu-profiler.h