| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 #include <limits> | 102 #include <limits> |
| 103 #undef INFINITY | 103 #undef INFINITY |
| 104 #define INFINITY std::numeric_limits<double>::infinity() | 104 #define INFINITY std::numeric_limits<double>::infinity() |
| 105 #endif | 105 #endif |
| 106 | 106 |
| 107 #endif // __GNUC__ | 107 #endif // __GNUC__ |
| 108 | 108 |
| 109 namespace v8 { | 109 namespace v8 { |
| 110 namespace internal { | 110 namespace internal { |
| 111 | 111 |
| 112 class Semaphore; |
| 113 |
| 112 double ceiling(double x); | 114 double ceiling(double x); |
| 113 | 115 |
| 114 // Forward declarations. | 116 // Forward declarations. |
| 115 class Socket; | 117 class Socket; |
| 116 | 118 |
| 117 // ---------------------------------------------------------------------------- | 119 // ---------------------------------------------------------------------------- |
| 118 // OS | 120 // OS |
| 119 // | 121 // |
| 120 // This class has static methods for the different platform specific | 122 // This class has static methods for the different platform specific |
| 121 // functions. Add methods here to cope with differences between the | 123 // functions. Add methods here to cope with differences between the |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 bool active_; | 533 bool active_; |
| 532 PlatformData* data_; // Platform specific data. | 534 PlatformData* data_; // Platform specific data. |
| 533 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); | 535 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); |
| 534 }; | 536 }; |
| 535 | 537 |
| 536 #endif // ENABLE_LOGGING_AND_PROFILING | 538 #endif // ENABLE_LOGGING_AND_PROFILING |
| 537 | 539 |
| 538 } } // namespace v8::internal | 540 } } // namespace v8::internal |
| 539 | 541 |
| 540 #endif // V8_PLATFORM_H_ | 542 #endif // V8_PLATFORM_H_ |
| OLD | NEW |