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

Unified Diff: lib/binary/ast_to_binary.dart

Issue 2460373002: Remove BlockExpression from the Kernel language. (Closed)
Patch Set: Created 4 years, 1 month 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: lib/binary/ast_to_binary.dart
diff --git a/lib/binary/ast_to_binary.dart b/lib/binary/ast_to_binary.dart
index 7f7c3927612ace3ea88863427d03b832618b37f4..7611523b492186adc6f51f5abcbdfd26d61afea2 100644
--- a/lib/binary/ast_to_binary.dart
+++ b/lib/binary/ast_to_binary.dart
@@ -680,12 +680,6 @@ class BinaryPrinter extends Visitor {
writeNode(node.body);
}
- visitBlockExpression(BlockExpression node) {
- writeByte(Tag.BlockExpression);
- writeNodeList(node.body.statements);
- writeNode(node.value);
- }
-
writeStatementOrEmpty(Statement node) {
if (node == null) {
writeByte(Tag.EmptyStatement);

Powered by Google App Engine
This is Rietveld 408576698