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

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

Issue 181453002: Reset trunk to 3.24.35.4 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 years, 9 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.cc ('k') | src/platform-posix.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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include <sys/stat.h> // open 46 #include <sys/stat.h> // open
47 #include <fcntl.h> // open 47 #include <fcntl.h> // open
48 #include <unistd.h> // sysconf 48 #include <unistd.h> // sysconf
49 #include <strings.h> // index 49 #include <strings.h> // index
50 #include <errno.h> 50 #include <errno.h>
51 #include <stdarg.h> 51 #include <stdarg.h>
52 52
53 // GLibc on ARM defines mcontext_t has a typedef for 'struct sigcontext'. 53 // GLibc on ARM defines mcontext_t has a typedef for 'struct sigcontext'.
54 // Old versions of the C library <signal.h> didn't define the type. 54 // Old versions of the C library <signal.h> didn't define the type.
55 #if defined(__ANDROID__) && !defined(__BIONIC_HAVE_UCONTEXT_T) && \ 55 #if defined(__ANDROID__) && !defined(__BIONIC_HAVE_UCONTEXT_T) && \
56 (defined(__arm__) || defined(__aarch64__)) && \ 56 defined(__arm__) && !defined(__BIONIC_HAVE_STRUCT_SIGCONTEXT)
57 !defined(__BIONIC_HAVE_STRUCT_SIGCONTEXT)
58 #include <asm/sigcontext.h> 57 #include <asm/sigcontext.h>
59 #endif 58 #endif
60 59
61 #if defined(LEAK_SANITIZER) 60 #if defined(LEAK_SANITIZER)
62 #include <sanitizer/lsan_interface.h> 61 #include <sanitizer/lsan_interface.h>
63 #endif 62 #endif
64 63
65 #undef MAP_TYPE 64 #undef MAP_TYPE
66 65
67 #include "v8.h" 66 #include "v8.h"
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 #endif 448 #endif
450 return munmap(base, size) == 0; 449 return munmap(base, size) == 0;
451 } 450 }
452 451
453 452
454 bool VirtualMemory::HasLazyCommits() { 453 bool VirtualMemory::HasLazyCommits() {
455 return true; 454 return true;
456 } 455 }
457 456
458 } } // namespace v8::internal 457 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/platform-posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698