Code clean
This commit is contained in:
@@ -24,9 +24,9 @@ import org.jetbrains.jet.lang.resolve.calls.model.ResolvedCall;
|
|||||||
|
|
||||||
public interface CallGenerator {
|
public interface CallGenerator {
|
||||||
|
|
||||||
public class DefaultCallGenerator implements CallGenerator {
|
class DefaultCallGenerator implements CallGenerator {
|
||||||
|
|
||||||
private ExpressionCodegen codegen;
|
private final ExpressionCodegen codegen;
|
||||||
|
|
||||||
public DefaultCallGenerator(ExpressionCodegen codegen) {
|
public DefaultCallGenerator(ExpressionCodegen codegen) {
|
||||||
this.codegen = codegen;
|
this.codegen = codegen;
|
||||||
@@ -72,7 +72,7 @@ public interface CallGenerator {
|
|||||||
) {
|
) {
|
||||||
stackValue.put(stackValue.type, codegen.v);
|
stackValue.put(stackValue.type, codegen.v);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
void genCall(CallableMethod callableMethod, ResolvedCall<?> resolvedCall, int mask, ExpressionCodegen codegen);
|
void genCall(CallableMethod callableMethod, ResolvedCall<?> resolvedCall, int mask, ExpressionCodegen codegen);
|
||||||
|
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ public class InliningContext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isRoot() {
|
public boolean isRoot() {
|
||||||
return parent == null;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
|
|||||||
Reference in New Issue
Block a user