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

Side by Side Diff: pkg/dartino_compiler/lib/src/debug_info_lazy_field_initializer_codegen.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 library fletchc.debug_info_lazy_field_initializer_codegen; 5 library dartino_compiler.debug_info_lazy_field_initializer_codegen;
6 6
7 import 'package:compiler/src/elements/elements.dart'; 7 import 'package:compiler/src/elements/elements.dart';
8 import 'package:compiler/src/resolution/tree_elements.dart'; 8 import 'package:compiler/src/resolution/tree_elements.dart';
9 import 'package:compiler/src/tree/tree.dart'; 9 import 'package:compiler/src/tree/tree.dart';
10 import 'package:compiler/src/universe/selector.dart'; 10 import 'package:compiler/src/universe/selector.dart';
11 11
12 import 'package:compiler/src/dart_types.dart' show 12 import 'package:compiler/src/dart_types.dart' show
13 DartType; 13 DartType;
14 14
15 import 'package:compiler/src/diagnostics/spannable.dart' show 15 import 'package:compiler/src/diagnostics/spannable.dart' show
16 Spannable; 16 Spannable;
17 17
18 import 'fletch_context.dart'; 18 import 'dartino_context.dart';
19 19
20 import 'fletch_function_builder.dart' show 20 import 'dartino_function_builder.dart' show
21 FletchFunctionBuilder; 21 DartinoFunctionBuilder;
22 22
23 import 'fletch_registry.dart' show 23 import 'dartino_registry.dart' show
24 FletchRegistry; 24 DartinoRegistry;
25 25
26 import 'debug_registry.dart' show 26 import 'debug_registry.dart' show
27 DebugRegistry; 27 DebugRegistry;
28 28
29 import 'closure_environment.dart'; 29 import 'closure_environment.dart';
30 import 'codegen_visitor.dart'; 30 import 'codegen_visitor.dart';
31 import 'lazy_field_initializer_codegen.dart'; 31 import 'lazy_field_initializer_codegen.dart';
32 import 'debug_info.dart'; 32 import 'debug_info.dart';
33 33
34 class DebugInfoLazyFieldInitializerCodegen 34 class DebugInfoLazyFieldInitializerCodegen
35 extends LazyFieldInitializerCodegen with DebugRegistry { 35 extends LazyFieldInitializerCodegen with DebugRegistry {
36 final DebugInfo debugInfo; 36 final DebugInfo debugInfo;
37 final FletchCompilerImplementation compiler; 37 final DartinoCompilerImplementation compiler;
38 38
39 DebugInfoLazyFieldInitializerCodegen(this.debugInfo, 39 DebugInfoLazyFieldInitializerCodegen(this.debugInfo,
40 FletchFunctionBuilder functionBuilder, 40 DartinoFunctionBuilder functionBuilder,
41 FletchContext context, 41 DartinoContext context,
42 TreeElements elements, 42 TreeElements elements,
43 ClosureEnvironment closureEnvironment, 43 ClosureEnvironment closureEnvironment,
44 FieldElement field, 44 FieldElement field,
45 this.compiler) 45 this.compiler)
46 : super(functionBuilder, context, elements, null, 46 : super(functionBuilder, context, elements, null,
47 closureEnvironment, field); 47 closureEnvironment, field);
48 48
49 void recordDebugInfo(Node node) { 49 void recordDebugInfo(Node node) {
50 debugInfo.addLocation(compiler, assembler.byteSize, node); 50 debugInfo.addLocation(compiler, assembler.byteSize, node);
51 } 51 }
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 void visitForValue(Node node) { 123 void visitForValue(Node node) {
124 recordDebugInfo(node); 124 recordDebugInfo(node);
125 super.visitForValue(node); 125 super.visitForValue(node);
126 } 126 }
127 127
128 void visitForEffect(Node node) { 128 void visitForEffect(Node node) {
129 recordDebugInfo(node); 129 recordDebugInfo(node);
130 super.visitForEffect(node); 130 super.visitForEffect(node);
131 } 131 }
132 } 132 }
OLDNEW
« no previous file with comments | « pkg/dartino_compiler/lib/src/debug_info_function_codegen.dart ('k') | pkg/dartino_compiler/lib/src/debug_registry.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698