Revision: 8160
Author:   [email protected]
Date:     Thu Jun  2 04:22:26 2011
Log:      Add curly braces to if / else clauses after r8152

[email protected]
http://code.google.com/p/v8/source/detail?r=8160

Modified:
 /branches/bleeding_edge/src/platform-linux.cc

=======================================
--- /branches/bleeding_edge/src/platform-linux.cc       Wed Jun  1 16:09:18 2011
+++ /branches/bleeding_edge/src/platform-linux.cc       Thu Jun  2 04:22:26 2011
@@ -1028,10 +1028,11 @@
       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) {

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to