AbiVersionIndex added

This commit is contained in:
Andrey Breslav
2013-01-24 14:46:34 +04:00
parent 8797c3ea95
commit 41dd4b29ae
3 changed files with 133 additions and 0 deletions
@@ -27,6 +27,7 @@ import org.jetbrains.jet.util.slicedmap.WritableSlice;
public class AbiVersionUtil {
public static final WritableSlice<PsiClass, Integer> ABI_VERSION_ERRORS =
new BasicWritableSlice<PsiClass, Integer>(Slices.ONLY_REWRITE_TO_EQUAL, true);
public static final int INVALID_VERSION = -1;
public static boolean isAbiVersionCompatible(int abiVersion) {
return abiVersion == JvmAbi.VERSION;