}else if(constant instanceof Integer){
returnType = new WeaselGenericClass(compiler.baseTypes.intClass);
instructionList.add(line, new WeaselInstructionLoadConstInteger((Integer)constant));
}else if(constant instanceof Long){
returnType = new WeaselGenericClass(compiler.baseTypes.longClass);
instructionList.add(line, new WeaselInstructionLoadConstLong((Long)constant));
}else if(constant instanceof Float){
returnType = new WeaselGenericClass(compiler.baseTypes.floatClass);
instructionList.add(line, new WeaselInstructionLoadConstFloat((Float)constant));
}else if(constant instanceof Double){
returnType = new WeaselGenericClass(compiler.baseTypes.doubleClass);