| 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 19 matching lines...) Expand all Loading... |
| 30 // Minimal include to get access to abort, fprintf and friends for bootstrapping | 30 // Minimal include to get access to abort, fprintf and friends for bootstrapping |
| 31 // messages. | 31 // messages. |
| 32 #include <stdio.h> | 32 #include <stdio.h> |
| 33 #include <stdlib.h> | 33 #include <stdlib.h> |
| 34 | 34 |
| 35 #include "v8.h" | 35 #include "v8.h" |
| 36 | 36 |
| 37 #include "platform.h" | 37 #include "platform.h" |
| 38 | 38 |
| 39 | 39 |
| 40 namespace v8 { namespace internal { | 40 namespace v8 { |
| 41 namespace internal { |
| 41 | 42 |
| 42 // Give V8 the opportunity to override the default ceil behaviour. | 43 // Give V8 the opportunity to override the default ceil behaviour. |
| 43 double ceiling(double x) { | 44 double ceiling(double x) { |
| 44 UNIMPLEMENTED(); | 45 UNIMPLEMENTED(); |
| 45 return 0; | 46 return 0; |
| 46 } | 47 } |
| 47 | 48 |
| 48 | 49 |
| 49 // Initialize OS class early in the V8 startup. | 50 // Initialize OS class early in the V8 startup. |
| 50 void OS::Setup() { | 51 void OS::Setup() { |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 } | 427 } |
| 427 | 428 |
| 428 | 429 |
| 429 void ProfileSampler::Stop() { | 430 void ProfileSampler::Stop() { |
| 430 UNIMPLEMENTED(); | 431 UNIMPLEMENTED(); |
| 431 } | 432 } |
| 432 | 433 |
| 433 #endif // ENABLE_LOGGING_AND_PROFILING | 434 #endif // ENABLE_LOGGING_AND_PROFILING |
| 434 | 435 |
| 435 } } // namespace v8::internal | 436 } } // namespace v8::internal |
| OLD | NEW |