Move most of ir utils from backend.common to ir.tree

This commit is contained in:
Ivan Kylchik
2022-02-24 20:41:49 +03:00
parent 40d224d5fe
commit f3252334b2
173 changed files with 857 additions and 1083 deletions
@@ -233,11 +233,6 @@ public abstract class KotlinBuiltIns {
return getBuiltInClassByName("Nothing");
}
@NotNull
public ClassDescriptor getIntrinsicConstEvaluation() {
return getBuiltInClassByFqName(new FqName("kotlin.internal.IntrinsicConstEvaluation"));
}
@NotNull
private ClassDescriptor getPrimitiveClassDescriptor(@NotNull PrimitiveType type) {
return getBuiltInClassByName(type.getTypeName().asString());
@@ -508,11 +503,6 @@ public abstract class KotlinBuiltIns {
return getAnyType().makeNullableAsSpecified(true);
}
@NotNull
public SimpleType getIntrinsicConstEvaluationType() {
return getIntrinsicConstEvaluation().getDefaultType();
}
@NotNull
public SimpleType getDefaultBound() {
return getNullableAnyType();