OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |