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

Unified Diff: pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.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/js_emitter/old_emitter/nsm_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart b/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart
index 86ff20a90c49dd7bcd6422d86ba068f8ebc0db33..94ac7ca8701fa8b1aaa84e1cfcc3f66ddb75452d 100644
--- a/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart
@@ -151,7 +151,6 @@ class NsmEmitter extends CodeEmitterHelper {
// Get the short names (JS names, perhaps minified).
Iterable<String> shorts = trivialNsmHandlers.map((selector) =>
namer.invocationMirrorInternalName(selector));
- final diffShorts = <String>[];
var diffEncoding = new StringBuffer();
// Treat string as a number in base 88 with digits in ASCII order from # to
@@ -219,7 +218,6 @@ class NsmEmitter extends CodeEmitterHelper {
ClassElement objectClass = compiler.objectClass;
jsAst.Expression createInvocationMirror = backend.emitter
.staticFunctionAccess(backend.getCreateInvocationMirror());
- var type = 0;
if (useDiffEncoding) {
statements.add(js.statement('''{
var objectClassObject = processedClasses.collected[#objectClass],

Powered by Google App Engine
This is Rietveld 408576698