Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: src/platform-solaris.cc

Issue 328993003: Drop dependency on Isolate* from platform.h (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/platform-qnx.cc ('k') | src/platform-win32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 return new PosixMemoryMappedFile(file, memory, size); 124 return new PosixMemoryMappedFile(file, memory, size);
125 } 125 }
126 126
127 127
128 PosixMemoryMappedFile::~PosixMemoryMappedFile() { 128 PosixMemoryMappedFile::~PosixMemoryMappedFile() {
129 if (memory_) munmap(memory_, size_); 129 if (memory_) munmap(memory_, size_);
130 fclose(file_); 130 fclose(file_);
131 } 131 }
132 132
133 133
134 void OS::LogSharedLibraryAddresses(Isolate* isolate) { 134 std::vector<OS::SharedLibraryAddress> OS::GetSharedLibraryAddresses() {
135 return std::vector<SharedLibraryAddress>();
135 } 136 }
136 137
137 138
138 void OS::SignalCodeMovingGC() { 139 void OS::SignalCodeMovingGC() {
139 } 140 }
140 141
141 142
142 struct StackWalker { 143 struct StackWalker {
143 Vector<OS::StackFrame>& frames; 144 Vector<OS::StackFrame>& frames;
144 int index; 145 int index;
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 return munmap(base, size) == 0; 308 return munmap(base, size) == 0;
308 } 309 }
309 310
310 311
311 bool VirtualMemory::HasLazyCommits() { 312 bool VirtualMemory::HasLazyCommits() {
312 // TODO(alph): implement for the platform. 313 // TODO(alph): implement for the platform.
313 return false; 314 return false;
314 } 315 }
315 316
316 } } // namespace v8::internal 317 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-qnx.cc ('k') | src/platform-win32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698