| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 107 #include <limits> | 107 #include <limits> | 
| 108 #undef V8_INFINITY | 108 #undef V8_INFINITY | 
| 109 #define V8_INFINITY std::numeric_limits<double>::infinity() | 109 #define V8_INFINITY std::numeric_limits<double>::infinity() | 
| 110 #endif | 110 #endif | 
| 111 | 111 | 
| 112 #endif  // __GNUC__ | 112 #endif  // __GNUC__ | 
| 113 | 113 | 
| 114 namespace v8 { | 114 namespace v8 { | 
| 115 namespace internal { | 115 namespace internal { | 
| 116 | 116 | 
| 117 // Use AtomicWord for a machine-sized pointer. It is assumed that |  | 
| 118 // reads and writes of naturally aligned values of this type are atomic. |  | 
| 119 typedef intptr_t AtomicWord; |  | 
| 120 |  | 
| 121 class Semaphore; | 117 class Semaphore; | 
| 122 | 118 | 
| 123 double ceiling(double x); | 119 double ceiling(double x); | 
| 124 double modulo(double x, double y); | 120 double modulo(double x, double y); | 
| 125 | 121 | 
| 126 // Forward declarations. | 122 // Forward declarations. | 
| 127 class Socket; | 123 class Socket; | 
| 128 | 124 | 
| 129 // ---------------------------------------------------------------------------- | 125 // ---------------------------------------------------------------------------- | 
| 130 // OS | 126 // OS | 
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 564   bool active_; | 560   bool active_; | 
| 565   PlatformData* data_;  // Platform specific data. | 561   PlatformData* data_;  // Platform specific data. | 
| 566   DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); | 562   DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); | 
| 567 }; | 563 }; | 
| 568 | 564 | 
| 569 #endif  // ENABLE_LOGGING_AND_PROFILING | 565 #endif  // ENABLE_LOGGING_AND_PROFILING | 
| 570 | 566 | 
| 571 } }  // namespace v8::internal | 567 } }  // namespace v8::internal | 
| 572 | 568 | 
| 573 #endif  // V8_PLATFORM_H_ | 569 #endif  // V8_PLATFORM_H_ | 
| OLD | NEW | 
|---|