Code clean

This commit is contained in:
Mikhael Bogdanov
2014-05-15 18:09:37 +04:00
parent d73ffc2f48
commit 086208f7b9
2 changed files with 4 additions and 4 deletions
@@ -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