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

Unified Diff: pkg/fletchc/lib/src/debug_info_constructor_codegen.dart

Issue 1170123004: Rename CompiledFunction to FletchFunctionBuilder and CompiledClass to FletchClassBuilder. (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Created 5 years, 6 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/debug_info.dart ('k') | pkg/fletchc/lib/src/debug_info_function_codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fletchc/lib/src/debug_info_constructor_codegen.dart
diff --git a/pkg/fletchc/lib/src/debug_info_constructor_codegen.dart b/pkg/fletchc/lib/src/debug_info_constructor_codegen.dart
index 9af7dc48c311ebcc92a8c4357f740c0c6a571f29..98e9508c0b1a81d885c7e844fee70e374259e596 100644
--- a/pkg/fletchc/lib/src/debug_info_constructor_codegen.dart
+++ b/pkg/fletchc/lib/src/debug_info_constructor_codegen.dart
@@ -22,11 +22,11 @@ import 'bytecode_builder.dart';
import 'closure_environment.dart';
import 'codegen_visitor.dart';
-import 'compiled_function.dart' show
- CompiledFunction;
+import 'fletch_function_builder.dart' show
+ FletchFunctionBuilder;
-import 'compiled_class.dart' show
- CompiledClass;
+import 'fletch_class_builder.dart' show
+ FletchClassBuilder;
import 'fletch_backend.dart';
import 'fletch_context.dart';
@@ -43,22 +43,22 @@ class DebugInfoConstructorCodegen extends ConstructorCodegen {
// function with incorrect bytecode.
final BytecodeBuilder debugBuilder;
- DebugInfoConstructorCodegen(CompiledFunction compiledFunction,
+ DebugInfoConstructorCodegen(FletchFunctionBuilder functionBuilder,
FletchContext context,
TreeElements elements,
Registry registry,
ClosureEnvironment closureEnvironment,
ConstructorElement constructor,
- CompiledClass compiledClass,
+ FletchClassBuilder classBuilder,
this.compiler)
- : debugBuilder = new BytecodeBuilder(compiledFunction.arity),
- super(compiledFunction, context, elements, registry,
- closureEnvironment, constructor, compiledClass);
+ : debugBuilder = new BytecodeBuilder(functionBuilder.arity),
+ super(functionBuilder, context, elements, registry,
+ closureEnvironment, constructor, classBuilder);
BytecodeBuilder get builder => debugBuilder;
LazyFieldInitializerCodegen lazyFieldInitializerCodegenFor(
- CompiledFunction function,
+ FletchFunctionBuilder function,
FieldElement field) {
TreeElements elements = field.resolvedAst.elements;
return new DebugInfoLazyFieldInitializerCodegen(
@@ -73,17 +73,17 @@ class DebugInfoConstructorCodegen extends ConstructorCodegen {
}
void recordDebugInfo(Node node) {
- compiledFunction.debugInfo.addLocation(compiler, builder.byteSize, node);
+ functionBuilder.debugInfo.addLocation(compiler, builder.byteSize, node);
}
void pushVariableDeclaration(LocalValue value) {
super.pushVariableDeclaration(value);
- compiledFunction.debugInfo.pushScope(builder.byteSize, value);
+ functionBuilder.debugInfo.pushScope(builder.byteSize, value);
}
void popVariableDeclaration(Element element) {
super.popVariableDeclaration(element);
- compiledFunction.debugInfo.popScope(builder.byteSize);
+ functionBuilder.debugInfo.popScope(builder.byteSize);
}
void registerDynamicInvocation(Selector selector) { }
« no previous file with comments | « pkg/fletchc/lib/src/debug_info.dart ('k') | pkg/fletchc/lib/src/debug_info_function_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698