Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Side by Side Diff: src/log.cc

Issue 115756: Split nested namespaces declaration in two lines in accordance with C++ Style Guide. (Closed)
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 18 matching lines...) Expand all
29 29
30 #include "v8.h" 30 #include "v8.h"
31 31
32 #include "bootstrapper.h" 32 #include "bootstrapper.h"
33 #include "log.h" 33 #include "log.h"
34 #include "macro-assembler.h" 34 #include "macro-assembler.h"
35 #include "platform.h" 35 #include "platform.h"
36 #include "serialize.h" 36 #include "serialize.h"
37 #include "string-stream.h" 37 #include "string-stream.h"
38 38
39 namespace v8 { namespace internal { 39 namespace v8 {
40 namespace internal {
40 41
41 #ifdef ENABLE_LOGGING_AND_PROFILING 42 #ifdef ENABLE_LOGGING_AND_PROFILING
42 43
43 // 44 //
44 // Sliding state window. Updates counters to keep track of the last 45 // Sliding state window. Updates counters to keep track of the last
45 // window of kBufferSize states. This is useful to track where we 46 // window of kBufferSize states. This is useful to track where we
46 // spent our time. 47 // spent our time.
47 // 48 //
48 class SlidingStateWindow { 49 class SlidingStateWindow {
49 public: 50 public:
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1413 } else if (previous_->state_ == EXTERNAL) { 1414 } else if (previous_->state_ == EXTERNAL) {
1414 // We are leaving V8. 1415 // We are leaving V8.
1415 Heap::Protect(); 1416 Heap::Protect();
1416 } 1417 }
1417 } 1418 }
1418 #endif 1419 #endif
1419 } 1420 }
1420 #endif 1421 #endif
1421 1422
1422 } } // namespace v8::internal 1423 } } // namespace v8::internal
OLDNEW
« src/accessors.h ('K') | « src/log.h ('k') | src/mark-compact.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698