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

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

Issue 333013002: Check alpha-sorting of includes during presubmit. (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/parser.h ('k') | src/platform-freebsd.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 Cygwin goes here. For the POSIX-compatible 5 // Platform-specific code for Cygwin 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 <errno.h> 8 #include <errno.h>
9 #include <pthread.h> 9 #include <pthread.h>
10 #include <semaphore.h> 10 #include <semaphore.h>
11 #include <stdarg.h> 11 #include <stdarg.h>
12 #include <strings.h> // index 12 #include <strings.h> // index
13 #include <sys/mman.h> // mmap & munmap
13 #include <sys/time.h> 14 #include <sys/time.h>
14 #include <sys/mman.h> // mmap & munmap
15 #include <unistd.h> // sysconf 15 #include <unistd.h> // sysconf
16 16
17 #undef MAP_TYPE 17 #undef MAP_TYPE
18 18
19 #include "src/v8.h" 19 #include "src/v8.h"
20 20
21 #include "src/base/win32-headers.h" 21 #include "src/base/win32-headers.h"
22 #include "src/platform.h" 22 #include "src/platform.h"
23 23
24 namespace v8 { 24 namespace v8 {
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 return VirtualFree(base, 0, MEM_RELEASE) != 0; 321 return VirtualFree(base, 0, MEM_RELEASE) != 0;
322 } 322 }
323 323
324 324
325 bool VirtualMemory::HasLazyCommits() { 325 bool VirtualMemory::HasLazyCommits() {
326 // TODO(alph): implement for the platform. 326 // TODO(alph): implement for the platform.
327 return false; 327 return false;
328 } 328 }
329 329
330 } } // namespace v8::internal 330 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/parser.h ('k') | src/platform-freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698