Use box tests to check if the light analysis mode (without analyzing bodies when possible) produces the same result as the complete analysis. See also the next commit in which light analysis mode is applied. Note that no tests were changed.

This commit is contained in:
Yan Zhulanow
2016-11-03 01:21:23 +03:00
committed by Yan Zhulanow
parent 8bdb54929b
commit 328286ab14
2287 changed files with 51250 additions and 2 deletions
@@ -0,0 +1,3 @@
public final class NegateConstantCompareKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class NegateFalseKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class NegateFalseVarKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class NegateFalseVarChainKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,7 @@
public final class NegateObjectCompKt {
private final static @org.jetbrains.annotations.Nullable field p: java.lang.Integer
private final static @org.jetbrains.annotations.Nullable field z: java.lang.Integer
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.Nullable method getP(): java.lang.Integer
public final static @org.jetbrains.annotations.Nullable method getZ(): java.lang.Integer
}
@@ -0,0 +1,7 @@
public final class NegateObjectComp2Kt {
private final static @org.jetbrains.annotations.Nullable field p: java.lang.Integer
private final static @org.jetbrains.annotations.Nullable field z: java.lang.Integer
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.Nullable method getP(): java.lang.Integer
public final static @org.jetbrains.annotations.Nullable method getZ(): java.lang.Integer
}
@@ -0,0 +1,3 @@
public final class NegateTrueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class NegateTrueVarKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,18 @@
public final class A {
public method <init>(): void
}
public final class B {
public method <init>(): void
}
public final class NoOptimizationKt {
private static field holder: int
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method getHolder(): int
public final static @org.jetbrains.annotations.NotNull method not(@org.jetbrains.annotations.NotNull p0: A): A
public final static method not(@org.jetbrains.annotations.NotNull p0: B): boolean
public final static method setHolder(p0: int): void
}