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

Side by Side Diff: runtime/vm/virtual_memory.h

Issue 9209001: Move utils.h and utils.cc from runtime/vm to runtime/platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments from iposva@ and ager@ Created 8 years, 11 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
OLDNEW
1 // Copyright (c) 2011, 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 VM_VIRTUAL_MEMORY_H_
6 #define VM_VIRTUAL_MEMORY_H_ 6 #define VM_VIRTUAL_MEMORY_H_
7 7
8 #include "platform/utils.h"
8 #include "vm/globals.h" 9 #include "vm/globals.h"
9 #include "vm/memory_region.h" 10 #include "vm/memory_region.h"
10 #include "vm/utils.h"
11 11
12 namespace dart { 12 namespace dart {
13 13
14 class VirtualMemory { 14 class VirtualMemory {
15 public: 15 public:
16 // The reserved memory is unmapped on destruction. 16 // The reserved memory is unmapped on destruction.
17 ~VirtualMemory(); 17 ~VirtualMemory();
18 18
19 uword start() const { return region_.start(); } 19 uword start() const { return region_.start(); }
20 uword end() const { return region_.end(); } 20 uword end() const { return region_.end(); }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 void* reserved_pointer_; 74 void* reserved_pointer_;
75 75
76 static uword page_size_; 76 static uword page_size_;
77 77
78 DISALLOW_IMPLICIT_CONSTRUCTORS(VirtualMemory); 78 DISALLOW_IMPLICIT_CONSTRUCTORS(VirtualMemory);
79 }; 79 };
80 80
81 } // namespace dart 81 } // namespace dart
82 82
83 #endif // VM_VIRTUAL_MEMORY_H_ 83 #endif // VM_VIRTUAL_MEMORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698