Add curly braces to if / else clauses after r8152
TBR=ager@chromium.org git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8160 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
ece7700d7c
commit
5112f7f0c6
@ -1028,10 +1028,11 @@ class SignalSender : public Thread {
|
||||
bool cpu_profiling_enabled =
|
||||
(state == SamplerRegistry::HAS_CPU_PROFILING_SAMPLERS);
|
||||
bool runtime_profiler_enabled = RuntimeProfiler::IsEnabled();
|
||||
if (cpu_profiling_enabled && !signal_handler_installed_)
|
||||
if (cpu_profiling_enabled && !signal_handler_installed_) {
|
||||
InstallSignalHandler();
|
||||
else if (!cpu_profiling_enabled && signal_handler_installed_)
|
||||
} else if (!cpu_profiling_enabled && signal_handler_installed_) {
|
||||
RestoreSignalHandler();
|
||||
}
|
||||
// When CPU profiling is enabled both JavaScript and C++ code is
|
||||
// profiled. We must not suspend.
|
||||
if (!cpu_profiling_enabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user