| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 Solaris 10 goes here. For the POSIX-compatible | 5 // Platform-specific code for Solaris 10 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 #ifdef __sparc | 8 #ifdef __sparc |
| 9 # error "V8 does not support the SPARC CPU architecture." | 9 # error "V8 does not support the SPARC CPU architecture." |
| 10 #endif | 10 #endif |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 bool VirtualMemory::ReleaseRegion(void* base, size_t size) { | 201 bool VirtualMemory::ReleaseRegion(void* base, size_t size) { |
| 202 return munmap(base, size) == 0; | 202 return munmap(base, size) == 0; |
| 203 } | 203 } |
| 204 | 204 |
| 205 | 205 |
| 206 bool VirtualMemory::HasLazyCommits() { | 206 bool VirtualMemory::HasLazyCommits() { |
| 207 // TODO(alph): implement for the platform. | 207 // TODO(alph): implement for the platform. |
| 208 return false; | 208 return false; |
| 209 } | 209 } |
| 210 | 210 |
| 211 } } // namespace v8::base | 211 } // namespace base |
| 212 } // namespace v8 |
| OLD | NEW |