diff --git a/compiler/backend/src/org/jetbrains/jet/codegen/FunctionCodegen.java b/compiler/backend/src/org/jetbrains/jet/codegen/FunctionCodegen.java index da0a51a5e7e..43ecd6939a8 100644 --- a/compiler/backend/src/org/jetbrains/jet/codegen/FunctionCodegen.java +++ b/compiler/backend/src/org/jetbrains/jet/codegen/FunctionCodegen.java @@ -241,7 +241,7 @@ public class FunctionCodegen { public static void endVisit(MethodVisitor mv, String description, PsiElement method) { try { - mv.visitMaxs(0, 0); + mv.visitMaxs(-1, -1); } catch (Throwable t) { throw new CompilationException("wrong code generated" + (description != null ? " for " + description : "") + t.getClass().getName() + " " + t.getMessage(), t, method);