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

Side by Side Diff: src/platform-linux.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-freebsd.cc ('k') | src/platform-openbsd.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 Linux goes here. For the POSIX-compatible 5 // Platform-specific code for Linux 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 26 matching lines...) Expand all
37 37
38 #if defined(LEAK_SANITIZER) 38 #if defined(LEAK_SANITIZER)
39 #include <sanitizer/lsan_interface.h> 39 #include <sanitizer/lsan_interface.h>
40 #endif 40 #endif
41 41
42 #undef MAP_TYPE 42 #undef MAP_TYPE
43 43
44 #include "src/v8.h" 44 #include "src/v8.h"
45 45
46 #include "src/platform.h" 46 #include "src/platform.h"
47 #include "src/v8threads.h"
48 47
49 48
50 namespace v8 { 49 namespace v8 {
51 namespace internal { 50 namespace internal {
52 51
53 52
54 #ifdef __arm__ 53 #ifdef __arm__
55 54
56 bool OS::ArmUsingHardFloat() { 55 bool OS::ArmUsingHardFloat() {
57 // GCC versions 4.6 and above define __ARM_PCS or __ARM_PCS_VFP to specify 56 // GCC versions 4.6 and above define __ARM_PCS or __ARM_PCS_VFP to specify
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 #endif 424 #endif
426 return munmap(base, size) == 0; 425 return munmap(base, size) == 0;
427 } 426 }
428 427
429 428
430 bool VirtualMemory::HasLazyCommits() { 429 bool VirtualMemory::HasLazyCommits() {
431 return true; 430 return true;
432 } 431 }
433 432
434 } } // namespace v8::internal 433 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-freebsd.cc ('k') | src/platform-openbsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698