Removed redundant code.

This commit is contained in:
Evgeny Gerashchenko
2013-03-12 22:42:46 +04:00
parent 5ad571c5ab
commit 73823260be
@@ -62,9 +62,6 @@ public class ClosureCodegen extends GenerationStateAware {
}
public ClosureCodegen gen(JetDeclarationWithBody fun, CodegenContext context, ExpressionCodegen expressionCodegen) {
SimpleFunctionDescriptor descriptor = bindingContext.get(BindingContext.FUNCTION, fun);
assert descriptor != null;
name = classNameForAnonymousClass(state.getBindingContext(), fun);
ClassBuilder cv = state.getFactory().newVisitor(name.getInternalName() + ".class", fun.getContainingFile());