| 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 210   return NULL; | 210   return NULL; | 
| 211 } | 211 } | 
| 212 | 212 | 
| 213 | 213 | 
| 214 void OS::Free(void* buf, const size_t length) { | 214 void OS::Free(void* buf, const size_t length) { | 
| 215   // TODO(1240712): potential system call return value which is ignored here. | 215   // TODO(1240712): potential system call return value which is ignored here. | 
| 216   UNIMPLEMENTED(); | 216   UNIMPLEMENTED(); | 
| 217 } | 217 } | 
| 218 | 218 | 
| 219 | 219 | 
| 220 #ifdef ENABLE_HEAP_PROTECTION |  | 
| 221 |  | 
| 222 void OS::Protect(void* address, size_t size) { |  | 
| 223   UNIMPLEMENTED(); |  | 
| 224 } |  | 
| 225 |  | 
| 226 |  | 
| 227 void OS::Unprotect(void* address, size_t size, bool is_executable) { |  | 
| 228   UNIMPLEMENTED(); |  | 
| 229 } |  | 
| 230 |  | 
| 231 #endif |  | 
| 232 |  | 
| 233 |  | 
| 234 void OS::Sleep(int milliseconds) { | 220 void OS::Sleep(int milliseconds) { | 
| 235   UNIMPLEMENTED(); | 221   UNIMPLEMENTED(); | 
| 236 } | 222 } | 
| 237 | 223 | 
| 238 | 224 | 
| 239 void OS::Abort() { | 225 void OS::Abort() { | 
| 240   // Minimalistic implementation for bootstrapping. | 226   // Minimalistic implementation for bootstrapping. | 
| 241   abort(); | 227   abort(); | 
| 242 } | 228 } | 
| 243 | 229 | 
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 468 } | 454 } | 
| 469 | 455 | 
| 470 | 456 | 
| 471 void ProfileSampler::Stop() { | 457 void ProfileSampler::Stop() { | 
| 472   UNIMPLEMENTED(); | 458   UNIMPLEMENTED(); | 
| 473 } | 459 } | 
| 474 | 460 | 
| 475 #endif  // ENABLE_LOGGING_AND_PROFILING | 461 #endif  // ENABLE_LOGGING_AND_PROFILING | 
| 476 | 462 | 
| 477 } }  // namespace v8::internal | 463 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|