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

Unified Diff: src/vm/interpreter.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/interpreter.h ('k') | src/vm/interpreter_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/vm/interpreter.cc
diff --git a/src/vm/interpreter.cc b/src/vm/interpreter.cc
index 7c6524fba9357edc390e1d3a3a8f1738c1008e40..18edd15e99c5712f84872f32fadce204a270a96b 100644
--- a/src/vm/interpreter.cc
+++ b/src/vm/interpreter.cc
@@ -18,7 +18,7 @@
#include "src/vm/port.h"
#include "src/vm/process.h"
-namespace fletch {
+namespace dartino {
const NativeFunction kNativeTable[] = {
#define N(e, c, n, d) &Native_##e,
@@ -176,10 +176,10 @@ Object* HandleIdentical(Process* process, Object* left, Object* right) {
if (left == right) {
identical = true;
} else if (left->IsDouble() && right->IsDouble()) {
- fletch_double_as_uint left_value =
- bit_cast<fletch_double_as_uint>(Double::cast(left)->value());
- fletch_double_as_uint right_value =
- bit_cast<fletch_double_as_uint>(Double::cast(right)->value());
+ dartino_double_as_uint left_value =
+ bit_cast<dartino_double_as_uint>(Double::cast(left)->value());
+ dartino_double_as_uint right_value =
+ bit_cast<dartino_double_as_uint>(Double::cast(right)->value());
identical = (left_value == right_value);
} else if (left->IsLargeInteger() && right->IsLargeInteger()) {
int64 left_value = LargeInteger::cast(left)->value();
@@ -356,8 +356,8 @@ void HandleEnterNoSuchMethod(Process* process) {
// lib/core/core_patch.dart:Object._noSuchMethod()
//
// The number of arguments must be kept in sync with
- // pkg/fletchc/lib/src/fletch_backend.dart:
- // FletchBackend.codegenExternalNoSuchMethodTrampoline
+ // pkg/dartino_compiler/lib/src/dartino_backend.dart:
+ // DartinoBackend.codegenExternalNoSuchMethodTrampoline
state.Push(receiver);
state.Push(clazz);
state.Push(selector_smi);
@@ -403,4 +403,4 @@ int HandleAtBytecode(Process* process, uint8* bcp, Object** sp) {
return Interpreter::kReady;
}
-} // namespace fletch
+} // namespace dartino
« no previous file with comments | « src/vm/interpreter.h ('k') | src/vm/interpreter_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698