| Index: pkg/dartino_compiler/lib/src/debug_info.dart
|
| diff --git a/pkg/fletchc/lib/src/debug_info.dart b/pkg/dartino_compiler/lib/src/debug_info.dart
|
| similarity index 97%
|
| rename from pkg/fletchc/lib/src/debug_info.dart
|
| rename to pkg/dartino_compiler/lib/src/debug_info.dart
|
| index deaf1854bce4b6af735f9dc36c556ac536562aeb..a0b1190fd510a01e787534eb8eba6cf6de4a35ee 100644
|
| --- a/pkg/fletchc/lib/src/debug_info.dart
|
| +++ b/pkg/dartino_compiler/lib/src/debug_info.dart
|
| @@ -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.
|
|
|
| -library fletchc.debug_info;
|
| +library dartino_compiler.debug_info;
|
|
|
| import 'dart:math' show
|
| min;
|
| @@ -24,12 +24,12 @@ import 'package:compiler/src/source_file_provider.dart' show
|
| SourceFileProvider;
|
|
|
| import 'codegen_visitor.dart';
|
| -import '../fletch_system.dart';
|
| +import '../dartino_system.dart';
|
| import 'hub/session_manager.dart' show
|
| SessionState;
|
|
|
| -import 'fletch_compiler_implementation.dart' show
|
| - FletchCompilerImplementation;
|
| +import 'dartino_compiler_implementation.dart' show
|
| + DartinoCompilerImplementation;
|
|
|
| class ScopeInfo {
|
| static const ScopeInfo sentinel = const ScopeInfo(0, null, null);
|
| @@ -83,14 +83,14 @@ class SourceLocation {
|
| }
|
|
|
| class DebugInfo {
|
| - final FletchFunction function;
|
| + final DartinoFunction function;
|
| final List<SourceLocation> locations = <SourceLocation>[];
|
| final List<ScopeInfo> scopeInfos = <ScopeInfo>[ScopeInfo.sentinel];
|
|
|
| DebugInfo(this.function);
|
|
|
| void addLocation(
|
| - FletchCompilerImplementation compiler,
|
| + DartinoCompilerImplementation compiler,
|
| int bytecodeIndex,
|
| Node node) {
|
| SourceSpan span = compiler.reporter.spanFromSpannable(node);
|
|
|