Added if function to compiler.