Removed old unused code emitting calls to non-existent methods
This commit is contained in:
committed by
Andrey Breslav
parent
4a66ab3627
commit
416ac7917b
@@ -1785,16 +1785,6 @@ public class ExpressionCodegen extends JetVisitor<StackValue, StackValue> implem
|
|||||||
return StackValue.none();
|
return StackValue.none();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (descriptor instanceof TypeParameterDescriptor) {
|
|
||||||
TypeParameterDescriptor typeParameterDescriptor = (TypeParameterDescriptor) descriptor;
|
|
||||||
v.invokevirtual("jet/TypeInfo", "getClassObject", "()Ljava/lang/Object;", false);
|
|
||||||
JetType type = typeParameterDescriptor.getClassObjectType();
|
|
||||||
assert type != null;
|
|
||||||
v.checkcast(asmType(type));
|
|
||||||
|
|
||||||
return StackValue.onStack(OBJECT_TYPE);
|
|
||||||
}
|
|
||||||
|
|
||||||
StackValue localOrCaptured = findLocalOrCapturedValue(descriptor);
|
StackValue localOrCaptured = findLocalOrCapturedValue(descriptor);
|
||||||
if (localOrCaptured != null) {
|
if (localOrCaptured != null) {
|
||||||
return localOrCaptured;
|
return localOrCaptured;
|
||||||
|
|||||||
Reference in New Issue
Block a user