OLD | NEW |
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 #endif | 104 #endif |
105 | 105 |
106 #endif // __GNUC__ | 106 #endif // __GNUC__ |
107 | 107 |
108 namespace v8 { | 108 namespace v8 { |
109 namespace internal { | 109 namespace internal { |
110 | 110 |
111 class Semaphore; | 111 class Semaphore; |
112 | 112 |
113 double ceiling(double x); | 113 double ceiling(double x); |
| 114 double modulo(double x, double y); |
114 | 115 |
115 // Forward declarations. | 116 // Forward declarations. |
116 class Socket; | 117 class Socket; |
117 | 118 |
118 // ---------------------------------------------------------------------------- | 119 // ---------------------------------------------------------------------------- |
119 // OS | 120 // OS |
120 // | 121 // |
121 // This class has static methods for the different platform specific | 122 // This class has static methods for the different platform specific |
122 // functions. Add methods here to cope with differences between the | 123 // functions. Add methods here to cope with differences between the |
123 // supported platforms. | 124 // supported platforms. |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 bool active_; | 536 bool active_; |
536 PlatformData* data_; // Platform specific data. | 537 PlatformData* data_; // Platform specific data. |
537 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); | 538 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); |
538 }; | 539 }; |
539 | 540 |
540 #endif // ENABLE_LOGGING_AND_PROFILING | 541 #endif // ENABLE_LOGGING_AND_PROFILING |
541 | 542 |
542 } } // namespace v8::internal | 543 } } // namespace v8::internal |
543 | 544 |
544 #endif // V8_PLATFORM_H_ | 545 #endif // V8_PLATFORM_H_ |
OLD | NEW |