OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_VIRTUAL_MEMORY_H_ | 5 #ifndef RUNTIME_VM_VIRTUAL_MEMORY_H_ |
6 #define VM_VIRTUAL_MEMORY_H_ | 6 #define RUNTIME_VM_VIRTUAL_MEMORY_H_ |
7 | 7 |
8 #include "platform/utils.h" | 8 #include "platform/utils.h" |
9 #include "vm/globals.h" | 9 #include "vm/globals.h" |
10 #include "vm/memory_region.h" | 10 #include "vm/memory_region.h" |
11 | 11 |
12 namespace dart { | 12 namespace dart { |
13 | 13 |
14 class VirtualMemory { | 14 class VirtualMemory { |
15 public: | 15 public: |
16 enum Protection { | 16 enum Protection { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 static uword page_size_; | 100 static uword page_size_; |
101 | 101 |
102 // True for a region provided by the embedder. | 102 // True for a region provided by the embedder. |
103 bool embedder_allocated_; | 103 bool embedder_allocated_; |
104 | 104 |
105 DISALLOW_IMPLICIT_CONSTRUCTORS(VirtualMemory); | 105 DISALLOW_IMPLICIT_CONSTRUCTORS(VirtualMemory); |
106 }; | 106 }; |
107 | 107 |
108 } // namespace dart | 108 } // namespace dart |
109 | 109 |
110 #endif // VM_VIRTUAL_MEMORY_H_ | 110 #endif // RUNTIME_VM_VIRTUAL_MEMORY_H_ |
OLD | NEW |