Skip to content

Commit

Permalink
Remove empty statements
Browse files Browse the repository at this point in the history
TBR=sigmund@google.com

Change-Id: I352bdc7f8031d797ec612a369341f93c7fbb1557
Reviewed-on: https://dart-review.googlesource.com/76586
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
  • Loading branch information
rakudrama authored and commit-bot@chromium.org committed Sep 26, 2018
1 parent 1c8d65c commit 1a29217
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/compiler/lib/src/ssa/builder_kernel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3377,7 +3377,7 @@ class KernelSsaGraphBuilder extends ir.Visitor
MemberEntity element = sourceElement is ConstructorBodyEntity
? (sourceElement as ConstructorBodyEntity).constructor
: sourceElement;
;

return globalInferenceResults
.resultOfMember(element)
.typeOfNewList(node) ??
Expand Down
1 change: 0 additions & 1 deletion pkg/compiler/lib/src/ssa/codegen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
});
var declarationList = new js.VariableDeclarationList(declarations)
.withSourceInformation(sourceInformation);
;
insertStatementAtStart(new js.ExpressionStatement(declarationList));
}
}
Expand Down
1 change: 0 additions & 1 deletion pkg/compiler/lib/src/util/setlet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ class Setlet<E> extends SetBase<E> {
for (E e in other) {
if (!this.contains(e)) return false;
}
;
return true;
}

Expand Down
2 changes: 0 additions & 2 deletions sdk/lib/_internal/js_runtime/lib/async_patch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ class _AsyncRun {
callback();
}

;
JS('void', 'self.scheduleImmediate(#)',
convertDartClosureToJS(internalCallback, 0));
}
Expand All @@ -84,7 +83,6 @@ class _AsyncRun {
callback();
}

;
JS('void', 'self.setImmediate(#)',
convertDartClosureToJS(internalCallback, 0));
}
Expand Down

0 comments on commit 1a29217

Please sign in to comment.