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

Unified Diff: dart/lib/compiler/implementation/ssa/codegen.dart

Issue 10876008: Remove most superfluous getter arguments from dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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
Index: dart/lib/compiler/implementation/ssa/codegen.dart
diff --git a/dart/lib/compiler/implementation/ssa/codegen.dart b/dart/lib/compiler/implementation/ssa/codegen.dart
index 7b4a93ce47fca89c76b69b793ed599374cccf613..10993dbe6a866be70f0ed913ebce094d62d8dc51 100644
--- a/dart/lib/compiler/implementation/ssa/codegen.dart
+++ b/dart/lib/compiler/implementation/ssa/codegen.dart
@@ -7,8 +7,8 @@ class SsaCodeGeneratorTask extends CompilerTask {
SsaCodeGeneratorTask(JavaScriptBackend backend)
: this.backend = backend,
super(backend.compiler);
- String get name() => 'SSA code generator';
- NativeEmitter get nativeEmitter() => backend.emitter.nativeEmitter;
+ String get name => 'SSA code generator';
+ NativeEmitter get nativeEmitter => backend.emitter.nativeEmitter;
js.Fun buildJavaScriptFunction(FunctionElement element,
@@ -149,7 +149,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
final Map<Element, String> parameterNames;
js.Block currentContainer;
- js.Block get body() => currentContainer;
+ js.Block get body => currentContainer;
List<js.Expression> expressionStack;
List<js.Block> oldContainerStack;
@@ -199,10 +199,10 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
breakAction = new Map<Element, ElementAction>(),
continueAction = new Map<Element, ElementAction>();
- LibraryElement get currentLibrary() => work.element.getLibrary();
- Compiler get compiler() => backend.compiler;
- NativeEmitter get nativeEmitter() => backend.emitter.nativeEmitter;
- Enqueuer get world() => backend.compiler.enqueuer.codegen;
+ LibraryElement get currentLibrary => work.element.getLibrary();
+ Compiler get compiler => backend.compiler;
+ NativeEmitter get nativeEmitter => backend.emitter.nativeEmitter;
+ Enqueuer get world => backend.compiler.enqueuer.codegen;
bool isGenerateAtUseSite(HInstruction instruction) {
return generateAtUseSite.contains(instruction);
« no previous file with comments | « dart/lib/compiler/implementation/ssa/builder.dart ('k') | dart/lib/compiler/implementation/ssa/js_names.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698