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

Unified Diff: src/vm/object_memory.h

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/vm/object_map_test.cc ('k') | src/vm/object_memory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/vm/object_memory.h
diff --git a/src/vm/object_memory.h b/src/vm/object_memory.h
index 7626c7e74d78b3cf9f09d1f7644e037d01a11015..a1723a3ab89fdc18b58b3f298ecc34bead252428 100644
--- a/src/vm/object_memory.h
+++ b/src/vm/object_memory.h
@@ -9,7 +9,7 @@
#include "src/shared/platform.h"
#include "src/shared/utils.h"
-namespace fletch {
+namespace dartino {
class FreeList;
class Heap;
@@ -339,7 +339,7 @@ class PageDirectory {
void Set(int index, PageTable* table) { tables_[index] = table; }
private:
-#ifdef FLETCH32
+#ifdef DARTINO32
PageTable* tables_[1 << 10];
#else
PageTable* tables_[1 << 13];
@@ -405,7 +405,7 @@ class ObjectMemory {
// Associate a range of pages with a given space.
static void SetSpaceForPages(uword base, uword limit, Space* space);
-#ifdef FLETCH32
+#ifdef DARTINO32
static PageDirectory page_directory_;
#else
static PageDirectory* page_directories_[1 << 13];
@@ -422,6 +422,6 @@ inline bool Space::Includes(uword address) const {
return ObjectMemory::IsAddressInSpace(address, this);
}
-} // namespace fletch
+} // namespace dartino
#endif // SRC_VM_OBJECT_MEMORY_H_
« no previous file with comments | « src/vm/object_map_test.cc ('k') | src/vm/object_memory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698