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

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

Issue 251103003: Remove unnecessary includes of v8 headers from platform files (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 7 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-macos.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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 #if defined(LEAK_SANITIZER) 61 #if defined(LEAK_SANITIZER)
62 #include <sanitizer/lsan_interface.h> 62 #include <sanitizer/lsan_interface.h>
63 #endif 63 #endif
64 64
65 #undef MAP_TYPE 65 #undef MAP_TYPE
66 66
67 #include "v8.h" 67 #include "v8.h"
68 68
69 #include "platform.h" 69 #include "platform.h"
70 #include "v8threads.h" 70 #include "v8threads.h"
71 #include "vm-state-inl.h"
72 71
73 72
74 namespace v8 { 73 namespace v8 {
75 namespace internal { 74 namespace internal {
76 75
77 76
78 #ifdef __arm__ 77 #ifdef __arm__
79 78
80 bool OS::ArmUsingHardFloat() { 79 bool OS::ArmUsingHardFloat() {
81 // GCC versions 4.6 and above define __ARM_PCS or __ARM_PCS_VFP to specify 80 // 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
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/platform-freebsd.cc ('k') | src/platform-macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698