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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/builder.dart

Issue 196223017: Fix bad generate-at-use-site. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 6 years, 9 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 | « no previous file | sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
index b42ae6af9dff58125321df4620d161b83b7f5af6..3202bdce2f1842838659c62b522a305d4d5f006f 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
@@ -885,7 +885,6 @@ class SwitchCaseJumpHandler extends TargetJumpHandler {
* This class builds SSA nodes for functions represented in AST.
*/
class SsaBuilder extends ResolvedVisitor {
- final Compiler compiler;
final JavaScriptBackend backend;
final ConstantSystem constantSystem;
final CodegenWorkItem work;
@@ -964,10 +963,9 @@ class SsaBuilder extends ResolvedVisitor {
List<HInstruction> stack = <HInstruction>[];
SsaBuilder(JavaScriptBackend backend,
- CodegenWorkItem work,
- this.nativeEmitter)
+ CodegenWorkItem work,
+ this.nativeEmitter)
: this.backend = backend,
- this.compiler = backend.compiler,
this.constantSystem = backend.constantSystem,
this.work = work,
this.rti = backend.rti,
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/ssa/codegen_helpers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698