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

Unified Diff: src/vm/session.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/session.h ('k') | src/vm/session_no_live_coding.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/vm/session.cc
diff --git a/src/vm/session.cc b/src/vm/session.cc
index eb44804a709ef68b5568794cc31e163f1d49d3f0..421ffed8ea90ae646ee6a75bf98909416dc58b12 100644
--- a/src/vm/session.cc
+++ b/src/vm/session.cc
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
-#ifdef FLETCH_ENABLE_LIVE_CODING
+#ifdef DARTINO_ENABLE_LIVE_CODING
#include "src/vm/session.h"
@@ -31,7 +31,7 @@
ASSERT(!var->IsFailure()); \
}
-namespace fletch {
+namespace dartino {
class ConnectionPrintInterceptor : public PrintInterceptor {
public:
@@ -111,17 +111,17 @@ Session::Session(Connection* connection)
program_update_error_(NULL),
main_thread_monitor_(Platform::CreateMonitor()),
main_thread_resume_kind_(kUnknown) {
-#ifdef FLETCH_ENABLE_PRINT_INTERCEPTORS
+#ifdef DARTINO_ENABLE_PRINT_INTERCEPTORS
ConnectionPrintInterceptor* interceptor =
new ConnectionPrintInterceptor(connection_);
Print::RegisterPrintInterceptor(interceptor);
-#endif // FLETCH_ENABLE_PRINT_INTERCEPTORS
+#endif // DARTINO_ENABLE_PRINT_INTERCEPTORS
}
Session::~Session() {
-#ifdef FLETCH_ENABLE_PRINT_INTERCEPTORS
+#ifdef DARTINO_ENABLE_PRINT_INTERCEPTORS
Print::UnregisterPrintInterceptors();
-#endif // FLETCH_ENABLE_PRINT_INTERCEPTORS
+#endif // DARTINO_ENABLE_PRINT_INTERCEPTORS
delete connection_;
delete program_;
@@ -1207,7 +1207,7 @@ void Session::PushBuiltinClass(Names::Id name, int fields) {
klass = program()->foreign_memory_class();
} else if (name == Names::kStackOverflowError) {
klass = program()->stack_overflow_error_class();
- } else if (name == Names::kFletchNoSuchMethodError) {
+ } else if (name == Names::kDartinoNoSuchMethodError) {
klass = program()->no_such_method_error_class();
} else {
UNREACHABLE();
@@ -1732,6 +1732,6 @@ void Session::RestartFrame(int frame_index) {
stack->SetTopFromPointer(frame.FramePointer());
}
-} // namespace fletch
+} // namespace dartino
-#endif // FLETCH_ENABLE_LIVE_CODING
+#endif // DARTINO_ENABLE_LIVE_CODING
« no previous file with comments | « src/vm/session.h ('k') | src/vm/session_no_live_coding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698