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

Unified Diff: src/vm/object.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/natives_windows.cc ('k') | src/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/vm/object.h
diff --git a/src/vm/object.h b/src/vm/object.h
index 1d9c928de0ae8b83ea98f7a46af25b8d600101ce..07bcaa8897d319095d34070707857c6fbc9b5aa5 100644
--- a/src/vm/object.h
+++ b/src/vm/object.h
@@ -17,7 +17,7 @@
#include "src/vm/intrinsics.h"
-namespace fletch {
+namespace dartino {
// This is an overview of the object class hierarchy:
//
@@ -452,8 +452,8 @@ class LargeInteger : public HeapObject {
class Double : public HeapObject {
public:
// [value]: double value.
- inline fletch_double value();
- inline void set_value(fletch_double value);
+ inline dartino_double value();
+ inline void set_value(dartino_double value);
// Casting.
static inline Double* cast(Object* object);
@@ -476,7 +476,7 @@ class Double : public HeapObject {
}
static const int kValueOffset = HeapObject::kSize;
- static const int kSize = kValueOffset + sizeof(fletch_double);
+ static const int kSize = kValueOffset + sizeof(dartino_double);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(Double);
@@ -2215,12 +2215,12 @@ LargeInteger* LargeInteger::cast(Object* object) {
// Inlined Double functions.
-fletch_double Double::value() {
- return *reinterpret_cast<fletch_double*>(address() + kValueOffset);
+dartino_double Double::value() {
+ return *reinterpret_cast<dartino_double*>(address() + kValueOffset);
}
-void Double::set_value(fletch_double value) {
- *reinterpret_cast<fletch_double*>(address() + kValueOffset) = value;
+void Double::set_value(dartino_double value) {
+ *reinterpret_cast<dartino_double*>(address() + kValueOffset) = value;
}
Double* Double::cast(Object* object) {
@@ -2368,6 +2368,6 @@ inline void Coroutine::set_caller(Coroutine* value) {
at_put(kCallerOffset, value);
}
-} // namespace fletch
+} // namespace dartino
#endif // SRC_VM_OBJECT_H_
« no previous file with comments | « src/vm/natives_windows.cc ('k') | src/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698