we have no typeinfo

This commit is contained in:
Stepan Koltsov
2012-03-27 00:27:33 +04:00
parent 69c9d3ffad
commit f3f76ab01d
2 changed files with 0 additions and 10 deletions
@@ -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) {