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

Unified Diff: pkg/compiler/lib/src/ssa/codegen.dart

Issue 1173403002: dart2js: Fix hints in code base. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Updated to latest revision 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
Index: pkg/compiler/lib/src/ssa/codegen.dart
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
index c59b1a35c4e6741b17f731af5151c0d13064f10a..1c2443bb708a7d84f3b94597b07f61ea03e925a2 100644
--- a/pkg/compiler/lib/src/ssa/codegen.dart
+++ b/pkg/compiler/lib/src/ssa/codegen.dart
@@ -1507,7 +1507,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
visitInvokeDynamicMethod(HInvokeDynamicMethod node) {
use(node.receiver);
js.Expression object = pop();
- String name = node.selector.name;
String methodName;
List<js.Expression> arguments = visitArguments(node.inputs);
Element target = node.element;
@@ -1892,7 +1891,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
if (instruction is !HRelational) return false;
HRelational relational = instruction;
- BinaryOperation operation = relational.operation(backend.constantSystem);
HInstruction left = relational.left;
HInstruction right = relational.right;
@@ -2460,7 +2458,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
} else {
assert(node.isRawCheck);
HInstruction interceptor = node.interceptor;
- LibraryElement coreLibrary = compiler.coreLibrary;
ClassElement objectClass = compiler.objectClass;
Element element = type.element;
if (element == compiler.nullClass) {

Powered by Google App Engine
This is Rietveld 408576698