| 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 29 matching lines...) Expand all Loading... |
| 40 namespace v8 { | 40 namespace v8 { |
| 41 namespace internal { | 41 namespace internal { |
| 42 | 42 |
| 43 // Give V8 the opportunity to override the default ceil behaviour. | 43 // Give V8 the opportunity to override the default ceil behaviour. |
| 44 double ceiling(double x) { | 44 double ceiling(double x) { |
| 45 UNIMPLEMENTED(); | 45 UNIMPLEMENTED(); |
| 46 return 0; | 46 return 0; |
| 47 } | 47 } |
| 48 | 48 |
| 49 | 49 |
| 50 // Give V8 the opportunity to override the default fmod behavior. |
| 51 double modulo(double x, double y) { |
| 52 UNIMPLEMENTED(); |
| 53 return 0; |
| 54 } |
| 55 |
| 56 |
| 50 // Initialize OS class early in the V8 startup. | 57 // Initialize OS class early in the V8 startup. |
| 51 void OS::Setup() { | 58 void OS::Setup() { |
| 52 // Seed the random number generator. | 59 // Seed the random number generator. |
| 53 UNIMPLEMENTED(); | 60 UNIMPLEMENTED(); |
| 54 } | 61 } |
| 55 | 62 |
| 56 | 63 |
| 57 // Returns the accumulated user time for thread. | 64 // Returns the accumulated user time for thread. |
| 58 int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) { | 65 int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) { |
| 59 UNIMPLEMENTED(); | 66 UNIMPLEMENTED(); |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 } | 434 } |
| 428 | 435 |
| 429 | 436 |
| 430 void ProfileSampler::Stop() { | 437 void ProfileSampler::Stop() { |
| 431 UNIMPLEMENTED(); | 438 UNIMPLEMENTED(); |
| 432 } | 439 } |
| 433 | 440 |
| 434 #endif // ENABLE_LOGGING_AND_PROFILING | 441 #endif // ENABLE_LOGGING_AND_PROFILING |
| 435 | 442 |
| 436 } } // namespace v8::internal | 443 } } // namespace v8::internal |
| OLD | NEW |