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

Side by Side Diff: src/platform-macos.cc

Issue 115756: Split nested namespaces declaration in two lines in accordance with C++ Style Guide. (Closed)
Patch Set: Created 11 years, 7 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #include <stdlib.h> 51 #include <stdlib.h>
52 52
53 #include <errno.h> 53 #include <errno.h>
54 54
55 #undef MAP_TYPE 55 #undef MAP_TYPE
56 56
57 #include "v8.h" 57 #include "v8.h"
58 58
59 #include "platform.h" 59 #include "platform.h"
60 60
61 namespace v8 { namespace internal { 61 namespace v8 {
62 namespace internal {
62 63
63 // 0 is never a valid thread id on MacOSX since a ptread_t is 64 // 0 is never a valid thread id on MacOSX since a ptread_t is
64 // a pointer. 65 // a pointer.
65 static const pthread_t kNoThread = (pthread_t) 0; 66 static const pthread_t kNoThread = (pthread_t) 0;
66 67
67 68
68 double ceiling(double x) { 69 double ceiling(double x) {
69 // Correct Mac OS X Leopard 'ceil' behavior. 70 // Correct Mac OS X Leopard 'ceil' behavior.
70 if (-1.0 < x && x < 0.0) { 71 if (-1.0 < x && x < 0.0) {
71 return -0.0; 72 return -0.0;
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 } 569 }
569 570
570 // This sampler is no longer the active sampler. 571 // This sampler is no longer the active sampler.
571 active_sampler_ = NULL; 572 active_sampler_ = NULL;
572 active_ = false; 573 active_ = false;
573 } 574 }
574 575
575 #endif // ENABLE_LOGGING_AND_PROFILING 576 #endif // ENABLE_LOGGING_AND_PROFILING
576 577
577 } } // namespace v8::internal 578 } } // namespace v8::internal
OLDNEW
« src/accessors.h ('K') | « src/platform-linux.cc ('k') | src/platform-nullos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698