Minor, kill useless param
This commit is contained in:
@@ -103,7 +103,7 @@ public class FunctionCodegen extends GenerationStateAware {
|
||||
generateMethodHeaderAndBody(fun, jvmSignature, needJetAnnotations, propertyTypeSignature, functionDescriptor, context);
|
||||
|
||||
if (state.getClassBuilderMode() == ClassBuilderMode.FULL && !isAbstract(functionDescriptor, kind)) {
|
||||
generateBridgeIfNeeded(owner, state, v, jvmSignature.getAsmMethod(), functionDescriptor, kind);
|
||||
generateBridgeIfNeeded(owner, state, v, jvmSignature.getAsmMethod(), functionDescriptor);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -471,10 +471,9 @@ public class FunctionCodegen extends GenerationStateAware {
|
||||
GenerationState state,
|
||||
ClassBuilder v,
|
||||
Method jvmSignature,
|
||||
FunctionDescriptor functionDescriptor,
|
||||
OwnerKind kind
|
||||
FunctionDescriptor functionDescriptor
|
||||
) {
|
||||
if (kind == OwnerKind.TRAIT_IMPL) {
|
||||
if (owner.getContextKind() == OwnerKind.TRAIT_IMPL) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1298,7 +1298,7 @@ public class ImplementationBodyCodegen extends ClassBodyCodegen {
|
||||
FunctionCodegen.endVisit(iv, "trait method", callableDescriptorToDeclaration(bindingContext, fun));
|
||||
}
|
||||
|
||||
FunctionCodegen.generateBridgeIfNeeded(context, state, v, function, fun, kind);
|
||||
FunctionCodegen.generateBridgeIfNeeded(context, state, v, function, fun);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ public class PropertyCodegen extends GenerationStateAware {
|
||||
}
|
||||
FunctionCodegen.endVisit(mv, "getter", origin);
|
||||
|
||||
FunctionCodegen.generateBridgeIfNeeded(context, state, v, jvmMethodSignature.getAsmMethod(), getter, kind);
|
||||
FunctionCodegen.generateBridgeIfNeeded(context, state, v, jvmMethodSignature.getAsmMethod(), getter);
|
||||
}
|
||||
|
||||
public static void generateJetPropertyAnnotation(
|
||||
@@ -304,7 +304,7 @@ public class PropertyCodegen extends GenerationStateAware {
|
||||
}
|
||||
FunctionCodegen.endVisit(mv, "setter", origin);
|
||||
|
||||
FunctionCodegen.generateBridgeIfNeeded(context, state, v, jvmMethodSignature.getAsmMethod(), setter, kind);
|
||||
FunctionCodegen.generateBridgeIfNeeded(context, state, v, jvmMethodSignature.getAsmMethod(), setter);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user