From 47130020c2729ae807308fdc6dd166b2a26624ab Mon Sep 17 00:00:00 2001 From: Pavel Jbanov Date: Fri, 19 Jul 2013 09:57:08 -0700 Subject: [PATCH] Removing unused try-catch, also they are extremely slow in dart2js. --- lib/block.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/block.dart b/lib/block.dart index 0bf4784a6..6704f28c8 100644 --- a/lib/block.dart +++ b/lib/block.dart @@ -52,8 +52,6 @@ class Block implements ElementWrapper { } _link(List nodeList, List directivePositions, Injector parentInjector) { - var stack; - try {throw '';} catch(e,s) {stack = s;} var preRenderedIndexOffset = 0; var directiveDefsByName = {};