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

Side by Side Diff: src/platform-solaris.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-qnx.cc ('k') | no next file » | 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 11 matching lines...) Expand all
22 #include <ieeefp.h> // finite() 22 #include <ieeefp.h> // finite()
23 #include <signal.h> // sigemptyset(), etc 23 #include <signal.h> // sigemptyset(), etc
24 #include <sys/regset.h> 24 #include <sys/regset.h>
25 25
26 26
27 #undef MAP_TYPE 27 #undef MAP_TYPE
28 28
29 #include "src/v8.h" 29 #include "src/v8.h"
30 30
31 #include "src/platform.h" 31 #include "src/platform.h"
32 #include "src/v8threads.h"
33 32
34 33
35 // It seems there is a bug in some Solaris distributions (experienced in 34 // It seems there is a bug in some Solaris distributions (experienced in
36 // SunOS 5.10 Generic_141445-09) which make it difficult or impossible to 35 // SunOS 5.10 Generic_141445-09) which make it difficult or impossible to
37 // access signbit() despite the availability of other C99 math functions. 36 // access signbit() despite the availability of other C99 math functions.
38 #ifndef signbit 37 #ifndef signbit
39 namespace std { 38 namespace std {
40 // Test sign - usually defined in math.h 39 // Test sign - usually defined in math.h
41 int signbit(double x) { 40 int signbit(double x) {
42 // We need to take care of the special case of both positive and negative 41 // We need to take care of the special case of both positive and negative
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 return munmap(base, size) == 0; 310 return munmap(base, size) == 0;
312 } 311 }
313 312
314 313
315 bool VirtualMemory::HasLazyCommits() { 314 bool VirtualMemory::HasLazyCommits() {
316 // TODO(alph): implement for the platform. 315 // TODO(alph): implement for the platform.
317 return false; 316 return false;
318 } 317 }
319 318
320 } } // namespace v8::internal 319 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-qnx.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698