@@ -476,8 +476,6 @@ module TypeScript {
476476 //}
477477 }
478478
479- var funcPullDecl = this . semanticInfoChain . getDeclForAST ( funcDecl ) ;
480- var funcSignature = funcPullDecl . getSignatureSymbol ( this . semanticInfoChain ) ;
481479 this . emitDeclarationComments ( funcDecl ) ;
482480
483481 this . emitIndent ( ) ;
@@ -603,11 +601,6 @@ module TypeScript {
603601 private emitConstructSignature ( funcDecl : ConstructSignatureSyntax ) {
604602 var funcPullDecl = this . semanticInfoChain . getDeclForAST ( funcDecl ) ;
605603
606- var start = new Date ( ) . getTime ( ) ;
607- var funcSymbol = this . semanticInfoChain . getSymbolForAST ( funcDecl ) ;
608-
609- TypeScript . declarationEmitFunctionDeclarationGetSymbolTime += new Date ( ) . getTime ( ) - start ;
610-
611604 this . emitDeclarationComments ( funcDecl ) ;
612605
613606 this . emitIndent ( ) ;
@@ -633,11 +626,6 @@ module TypeScript {
633626 private emitMethodSignature ( funcDecl : MethodSignatureSyntax ) {
634627 var funcPullDecl = this . semanticInfoChain . getDeclForAST ( funcDecl ) ;
635628
636- var start = new Date ( ) . getTime ( ) ;
637- var funcSymbol = this . semanticInfoChain . getSymbolForAST ( funcDecl ) ;
638-
639- TypeScript . declarationEmitFunctionDeclarationGetSymbolTime += new Date ( ) . getTime ( ) - start ;
640-
641629 this . emitDeclarationComments ( funcDecl ) ;
642630
643631 this . emitIndent ( ) ;
@@ -817,7 +805,6 @@ module TypeScript {
817805 var parameter = funcDecl . callSignature . parameterList . parameters [ i ] ;
818806 var parameterDecl = this . semanticInfoChain . getDeclForAST ( parameter ) ;
819807 if ( hasFlag ( parameterDecl . flags , PullElementFlags . PropertyParameter ) ) {
820- var funcPullDecl = this . semanticInfoChain . getDeclForAST ( funcDecl ) ;
821808 this . emitDeclarationComments ( parameter ) ;
822809 this . declFile . Write ( this . getIndentString ( ) ) ;
823810 this . emitClassElementModifiers ( parameter . modifiers ) ;
@@ -838,7 +825,6 @@ module TypeScript {
838825
839826 var className = classDecl . identifier . text ( ) ;
840827 this . emitDeclarationComments ( classDecl ) ;
841- var classPullDecl = this . semanticInfoChain . getDeclForAST ( classDecl ) ;
842828 this . emitDeclFlags ( classDecl , "class" ) ;
843829 this . declFile . Write ( className ) ;
844830
@@ -934,7 +920,6 @@ module TypeScript {
934920
935921 var interfaceName = interfaceDecl . identifier . text ( ) ;
936922 this . emitDeclarationComments ( interfaceDecl ) ;
937- var interfacePullDecl = this . semanticInfoChain . getDeclForAST ( interfaceDecl ) ;
938923 this . emitDeclFlags ( interfaceDecl , "interface" ) ;
939924 this . declFile . Write ( interfaceName ) ;
940925
@@ -980,7 +965,6 @@ module TypeScript {
980965 }
981966
982967 this . emitDeclarationComments ( moduleDecl ) ;
983- var modulePullDecl = this . semanticInfoChain . getDeclForAST ( moduleDecl ) ;
984968 this . emitDeclFlags ( moduleDecl , "enum" ) ;
985969 this . declFile . WriteLine ( moduleDecl . identifier . text ( ) + " {" ) ;
986970
0 commit comments