OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Platform-specific code for QNX goes here. For the POSIX-compatible | 5 // Platform-specific code for QNX goes here. For the POSIX-compatible |
6 // parts the implementation is in platform-posix.cc. | 6 // parts the implementation is in platform-posix.cc. |
7 | 7 |
8 #include <backtrace.h> | 8 #include <backtrace.h> |
9 #include <pthread.h> | 9 #include <pthread.h> |
10 #include <semaphore.h> | 10 #include <semaphore.h> |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 | 305 |
306 bool VirtualMemory::ReleaseRegion(void* base, size_t size) { | 306 bool VirtualMemory::ReleaseRegion(void* base, size_t size) { |
307 return munmap(base, size) == 0; | 307 return munmap(base, size) == 0; |
308 } | 308 } |
309 | 309 |
310 | 310 |
311 bool VirtualMemory::HasLazyCommits() { | 311 bool VirtualMemory::HasLazyCommits() { |
312 return false; | 312 return false; |
313 } | 313 } |
314 | 314 |
315 } } // namespace v8::base | 315 } // namespace base |
| 316 } // namespace v8 |
OLD | NEW |