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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 } | 93 } |
94 | 94 |
95 | 95 |
96 // Returns the daylight savings offset in milliseconds for the given time. | 96 // Returns the daylight savings offset in milliseconds for the given time. |
97 double OS::DaylightSavingsOffset(double time) { | 97 double OS::DaylightSavingsOffset(double time) { |
98 UNIMPLEMENTED(); | 98 UNIMPLEMENTED(); |
99 return 0; | 99 return 0; |
100 } | 100 } |
101 | 101 |
102 | 102 |
| 103 int OS::GetLastError() { |
| 104 UNIMPLEMENTED(); |
| 105 return 0; |
| 106 } |
| 107 |
| 108 |
103 // Returns the local time offset in milliseconds east of UTC without | 109 // Returns the local time offset in milliseconds east of UTC without |
104 // taking daylight savings time into account. | 110 // taking daylight savings time into account. |
105 double OS::LocalTimeOffset() { | 111 double OS::LocalTimeOffset() { |
106 UNIMPLEMENTED(); | 112 UNIMPLEMENTED(); |
107 return 0; | 113 return 0; |
108 } | 114 } |
109 | 115 |
110 | 116 |
111 // Print (debug) message to console. | 117 // Print (debug) message to console. |
112 void OS::Print(const char* format, ...) { | 118 void OS::Print(const char* format, ...) { |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 } | 451 } |
446 | 452 |
447 | 453 |
448 void ProfileSampler::Stop() { | 454 void ProfileSampler::Stop() { |
449 UNIMPLEMENTED(); | 455 UNIMPLEMENTED(); |
450 } | 456 } |
451 | 457 |
452 #endif // ENABLE_LOGGING_AND_PROFILING | 458 #endif // ENABLE_LOGGING_AND_PROFILING |
453 | 459 |
454 } } // namespace v8::internal | 460 } } // namespace v8::internal |
OLD | NEW |