we have no typeinfo
This commit is contained in:
@@ -94,8 +94,6 @@ public class IntrinsicMethods {
|
||||
declareIntrinsicFunction(type, "dec", 0, DEC, false);
|
||||
}
|
||||
|
||||
final Set<FunctionDescriptor> typeInfoFunctionGroup = stdlib.getTypeInfoFunctions();
|
||||
|
||||
declareBinaryOp("plus", Opcodes.IADD);
|
||||
declareBinaryOp("minus", Opcodes.ISUB);
|
||||
declareBinaryOp("times", Opcodes.IMUL);
|
||||
|
||||
@@ -108,8 +108,6 @@ public class JetStandardLibrary {
|
||||
|
||||
private JetType tuple0Type;
|
||||
|
||||
private Set<FunctionDescriptor> typeInfoFunction;
|
||||
|
||||
private EnumMap<PrimitiveType, ClassDescriptor> primitiveTypeToClass;
|
||||
private EnumMap<PrimitiveType, ClassDescriptor> primitiveTypeToArrayClass;
|
||||
private EnumMap<PrimitiveType, JetType> primitiveTypeToJetType;
|
||||
@@ -177,7 +175,6 @@ public class JetStandardLibrary {
|
||||
|
||||
this.iterableClass = (ClassDescriptor) libraryScope.getClassifier("Iterable");
|
||||
this.comparableClass = (ClassDescriptor) libraryScope.getClassifier("Comparable");
|
||||
this.typeInfoFunction = libraryScope.getFunctions("typeinfo");
|
||||
|
||||
this.numberType = new JetTypeImpl(getNumber());
|
||||
this.stringType = new JetTypeImpl(getString());
|
||||
@@ -325,11 +322,6 @@ public class JetStandardLibrary {
|
||||
initStdClasses();
|
||||
return throwableClass;
|
||||
}
|
||||
|
||||
public Set<FunctionDescriptor> getTypeInfoFunctions() {
|
||||
initStdClasses();
|
||||
return typeInfoFunction;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public JetType getPrimitiveJetType(PrimitiveType primitiveType) {
|
||||
|
||||
Reference in New Issue
Block a user