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

Unified Diff: pkg/fletchc/lib/src/class_debug_info.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/fletchc/lib/src/bytecode_assembler.dart ('k') | pkg/fletchc/lib/src/closure_environment.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fletchc/lib/src/class_debug_info.dart
diff --git a/pkg/fletchc/lib/src/class_debug_info.dart b/pkg/fletchc/lib/src/class_debug_info.dart
deleted file mode 100644
index ba6bc546a1b45911a3c0839f2a1a03a04ce34d38..0000000000000000000000000000000000000000
--- a/pkg/fletchc/lib/src/class_debug_info.dart
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
-// 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.class_debug_info;
-
-import 'package:compiler/src/elements/elements.dart';
-
-import '../fletch_system.dart';
-
-class ClassDebugInfo {
- final FletchClass klass;
- List<String> fieldNames;
-
- ClassDebugInfo(FletchClass klass)
- : this.klass = klass,
- fieldNames = _computeFieldNames(klass);
-
- static _computeFieldNames(FletchClass klass) {
- int localFields = klass.fields.length - klass.superclassFields;
- List fieldNames = new List(localFields);
- int index = 0;
- ClassElement classElement = klass.element.implementation;
- String className = classElement.name != null ? '${classElement.name}.' : '';
- classElement.forEachInstanceField((_, FieldElement field) {
- fieldNames[index++] = '$className${field.name}';
- });
- assert(index == localFields);
- return fieldNames;
- }
-}
« no previous file with comments | « pkg/fletchc/lib/src/bytecode_assembler.dart ('k') | pkg/fletchc/lib/src/closure_environment.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698