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

Unified Diff: src/vm/heap.cc

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/heap.h ('k') | src/vm/heap_validator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/vm/heap.cc
diff --git a/src/vm/heap.cc b/src/vm/heap.cc
index 0b200d649b2cd1aa724cf95061c16097e4107ecb..f4490d750a86a01b29060e8e561b40a5e9bd614b 100644
--- a/src/vm/heap.cc
+++ b/src/vm/heap.cc
@@ -10,7 +10,7 @@
#include "src/shared/flags.h"
#include "src/vm/object.h"
-namespace fletch {
+namespace dartino {
Heap::Heap(RandomXorShift* random, int maximum_initial_size)
: random_(random),
@@ -109,7 +109,7 @@ void Heap::TryDeallocInteger(LargeInteger* object) {
TryDealloc(object, LargeInteger::AllocationSize());
}
-Object* Heap::CreateDouble(Class* the_class, fletch_double value) {
+Object* Heap::CreateDouble(Class* the_class, dartino_double value) {
ASSERT(the_class->instance_format().type() == InstanceFormat::DOUBLE_TYPE);
int size = Double::AllocationSize();
Object* raw_result = Allocate(size);
@@ -304,9 +304,9 @@ void Heap::ProcessWeakPointers(Space* space) {
#ifdef DEBUG
void Heap::Find(uword word) {
- space_->Find(word, "Fletch heap");
+ space_->Find(word, "Dartino heap");
old_space_->Find(word, "oldspace");
-#ifdef FLETCH_TARGET_OS_LINUX
+#ifdef DARTINO_TARGET_OS_LINUX
FILE* fp = fopen("/proc/self/maps", "r");
if (fp == NULL) return;
size_t length;
@@ -344,4 +344,4 @@ void Heap::Find(uword word) {
}
#endif // DEBUG
-} // namespace fletch
+} // namespace dartino
« no previous file with comments | « src/vm/heap.h ('k') | src/vm/heap_validator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698