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

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

Issue 23890030: Rollback trunk to 3.21.15. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 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-cygwin.cc ('k') | src/platform-linux.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 // 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 LOG(isolate SharedLibraryEvent(start_of_path, start, end)); 192 LOG(isolate SharedLibraryEvent(start_of_path, start, end));
193 } 193 }
194 close(fd); 194 close(fd);
195 } 195 }
196 196
197 197
198 void OS::SignalCodeMovingGC() { 198 void OS::SignalCodeMovingGC() {
199 } 199 }
200 200
201 201
202 int OS::StackWalk(Vector<OS::StackFrame> frames) {
203 return POSIXBacktraceHelper<backtrace, backtrace_symbols>::StackWalk(frames);
204 }
205
202 206
203 // Constants used for mmap. 207 // Constants used for mmap.
204 static const int kMmapFd = -1; 208 static const int kMmapFd = -1;
205 static const int kMmapFdOffset = 0; 209 static const int kMmapFdOffset = 0;
206 210
207 211
208 VirtualMemory::VirtualMemory() : address_(NULL), size_(0) { } 212 VirtualMemory::VirtualMemory() : address_(NULL), size_(0) { }
209 213
210 214
211 VirtualMemory::VirtualMemory(size_t size) 215 VirtualMemory::VirtualMemory(size_t size)
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 return munmap(base, size) == 0; 334 return munmap(base, size) == 0;
331 } 335 }
332 336
333 337
334 bool VirtualMemory::HasLazyCommits() { 338 bool VirtualMemory::HasLazyCommits() {
335 // TODO(alph): implement for the platform. 339 // TODO(alph): implement for the platform.
336 return false; 340 return false;
337 } 341 }
338 342
339 } } // namespace v8::internal 343 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-cygwin.cc ('k') | src/platform-linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698