Remove dangerous and unused method

This commit is contained in:
Alexander Udalov
2012-11-23 17:33:21 +04:00
parent 59e74e79c2
commit 6c2b402625
@@ -2519,14 +2519,6 @@ public class ExpressionCodegen extends JetVisitor<StackValue, StackValue> implem
return StackValue.onStack(exprType);
}
private static boolean isClass(DeclarationDescriptor descriptor, String name) {
if (!(descriptor instanceof ClassDescriptor)) {
return false;
}
String className = descriptor.getName().getName();
return className.equals(name);
}
private StackValue generateCompareOp(JetExpression left, JetExpression right, IElementType opToken, Type operandType) {
gen(left, operandType);
gen(right, operandType);