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

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

Issue 323303002: Drop unused v8threads include from platform files (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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-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 // 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 FreeBSD goes here. For the POSIX-compatible 5 // Platform-specific code for FreeBSD 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 <pthread.h> 8 #include <pthread.h>
9 #include <semaphore.h> 9 #include <semaphore.h>
10 #include <signal.h> 10 #include <signal.h>
(...skipping 10 matching lines...) Expand all
21 #include <unistd.h> // getpagesize 21 #include <unistd.h> // getpagesize
22 // If you don't have execinfo.h then you need devel/libexecinfo from ports. 22 // If you don't have execinfo.h then you need devel/libexecinfo from ports.
23 #include <strings.h> // index 23 #include <strings.h> // index
24 #include <errno.h> 24 #include <errno.h>
25 #include <stdarg.h> 25 #include <stdarg.h>
26 #include <limits.h> 26 #include <limits.h>
27 27
28 #undef MAP_TYPE 28 #undef MAP_TYPE
29 29
30 #include "src/v8.h" 30 #include "src/v8.h"
31 #include "src/v8threads.h"
32 31
33 #include "src/platform.h" 32 #include "src/platform.h"
34 33
35 34
36 namespace v8 { 35 namespace v8 {
37 namespace internal { 36 namespace internal {
38 37
39 38
40 const char* OS::LocalTimezone(double time, TimezoneCache* cache) { 39 const char* OS::LocalTimezone(double time, TimezoneCache* cache) {
41 if (std::isnan(time)) return ""; 40 if (std::isnan(time)) return "";
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 return munmap(base, size) == 0; 298 return munmap(base, size) == 0;
300 } 299 }
301 300
302 301
303 bool VirtualMemory::HasLazyCommits() { 302 bool VirtualMemory::HasLazyCommits() {
304 // TODO(alph): implement for the platform. 303 // TODO(alph): implement for the platform.
305 return false; 304 return false;
306 } 305 }
307 306
308 } } // namespace v8::internal 307 } } // 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