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

Unified Diff: pkg/dartino_compiler/lib/debug_state.dart

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 | « pkg/dartino_compiler/lib/dartino_vm.dart ('k') | pkg/dartino_compiler/lib/generate_bytecodes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartino_compiler/lib/debug_state.dart
diff --git a/pkg/fletchc/lib/debug_state.dart b/pkg/dartino_compiler/lib/debug_state.dart
similarity index 85%
rename from pkg/fletchc/lib/debug_state.dart
rename to pkg/dartino_compiler/lib/debug_state.dart
index e27826586bb1f694975b33fde175b1c59375422d..4d498ea750a06aaf3ff4f9dbd911249069fa917e 100644
--- a/pkg/fletchc/lib/debug_state.dart
+++ b/pkg/dartino_compiler/lib/debug_state.dart
@@ -2,11 +2,11 @@
// 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.
-library fletch.debug_state;
+library dartino.debug_state;
import 'bytecodes.dart';
-import 'fletch_system.dart';
-import 'incremental/fletchc_incremental.dart';
+import 'dartino_system.dart';
+import 'incremental/dartino_compiler_incremental.dart';
import 'vm_session.dart';
import 'src/debug_info.dart';
import 'src/class_debug_info.dart';
@@ -59,10 +59,10 @@ class DebugState {
final Session session;
final Map<int, Breakpoint> breakpoints = <int, Breakpoint>{};
- final Map<FletchFunction, DebugInfo> debugInfos =
- <FletchFunction, DebugInfo>{};
- final Map<FletchClass, ClassDebugInfo> classDebugInfos =
- <FletchClass, ClassDebugInfo>{};
+ final Map<DartinoFunction, DebugInfo> debugInfos =
+ <DartinoFunction, DebugInfo>{};
+ final Map<DartinoClass, ClassDebugInfo> classDebugInfos =
+ <DartinoClass, ClassDebugInfo>{};
bool showInternalFrames = false;
bool verbose = true;
@@ -107,21 +107,21 @@ class DebugState {
_topFrame = frame;
}
- DebugInfo getDebugInfo(FletchFunction function) {
+ DebugInfo getDebugInfo(DartinoFunction function) {
return debugInfos.putIfAbsent(function, () {
- return session.compiler.createDebugInfo(function, session.fletchSystem);
+ return session.compiler.createDebugInfo(function, session.dartinoSystem);
});
}
- ClassDebugInfo getClassDebugInfo(FletchClass klass) {
+ ClassDebugInfo getClassDebugInfo(DartinoClass klass) {
return classDebugInfos.putIfAbsent(klass, () {
return session.compiler.createClassDebugInfo(klass);
});
}
- String lookupFieldName(FletchClass klass, int field) {
+ String lookupFieldName(DartinoClass klass, int field) {
while (field < klass.superclassFields) {
- klass = session.fletchSystem.lookupClassById(klass.superclassId);
+ klass = session.dartinoSystem.lookupClassById(klass.superclassId);
}
return getClassDebugInfo(klass).fieldNames[field - klass.superclassFields];
}
« no previous file with comments | « pkg/dartino_compiler/lib/dartino_vm.dart ('k') | pkg/dartino_compiler/lib/generate_bytecodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698