898 void *print_datatypes_error_c::visit( CD_operator_c *symbol) {return handle_implicit_il_fb_invocation( "CD", symbol, symbol->called_fb_declaration);} |
898 void *print_datatypes_error_c::visit( CD_operator_c *symbol) {return handle_implicit_il_fb_invocation( "CD", symbol, symbol->called_fb_declaration);} |
899 void *print_datatypes_error_c::visit( PV_operator_c *symbol) {return handle_implicit_il_fb_invocation( "PV", symbol, symbol->called_fb_declaration);} |
899 void *print_datatypes_error_c::visit( PV_operator_c *symbol) {return handle_implicit_il_fb_invocation( "PV", symbol, symbol->called_fb_declaration);} |
900 void *print_datatypes_error_c::visit( IN_operator_c *symbol) {return handle_implicit_il_fb_invocation( "IN", symbol, symbol->called_fb_declaration);} |
900 void *print_datatypes_error_c::visit( IN_operator_c *symbol) {return handle_implicit_il_fb_invocation( "IN", symbol, symbol->called_fb_declaration);} |
901 void *print_datatypes_error_c::visit( PT_operator_c *symbol) {return handle_implicit_il_fb_invocation( "PT", symbol, symbol->called_fb_declaration);} |
901 void *print_datatypes_error_c::visit( PT_operator_c *symbol) {return handle_implicit_il_fb_invocation( "PT", symbol, symbol->called_fb_declaration);} |
902 |
902 |
903 void *print_datatypes_error_c::visit(AND_operator_c *symbol) {return print_binary_operator_errors("AND", symbol);} |
903 void *print_datatypes_error_c::visit( AND_operator_c *symbol) {return print_binary_operator_errors("AND" , symbol);} |
904 void *print_datatypes_error_c::visit( OR_operator_c *symbol) {return print_binary_operator_errors( "OR", symbol);} |
904 void *print_datatypes_error_c::visit( OR_operator_c *symbol) {return print_binary_operator_errors( "OR" , symbol);} |
905 void *print_datatypes_error_c::visit(XOR_operator_c *symbol) {return print_binary_operator_errors("XOR", symbol);} |
905 void *print_datatypes_error_c::visit( XOR_operator_c *symbol) {return print_binary_operator_errors("XOR" , symbol);} |
906 |
906 void *print_datatypes_error_c::visit(ANDN_operator_c *symbol) {return print_binary_operator_errors("ANDN", symbol);} |
907 void *print_datatypes_error_c::visit(ANDN_operator_c *symbol) { |
907 void *print_datatypes_error_c::visit( ORN_operator_c *symbol) {return print_binary_operator_errors( "ORN", symbol);} |
908 if ((symbol->candidate_datatypes.size() == 0) && |
908 void *print_datatypes_error_c::visit(XORN_operator_c *symbol) {return print_binary_operator_errors("XORN", symbol);} |
909 (il_operand->candidate_datatypes.size() > 0)) |
909 void *print_datatypes_error_c::visit( ADD_operator_c *symbol) {return print_binary_operator_errors("ADD" , symbol, symbol->deprecated_operation);} |
910 STAGE3_ERROR(0, symbol, symbol, "Data type mismatch for 'ANDN' operator."); |
910 void *print_datatypes_error_c::visit( SUB_operator_c *symbol) {return print_binary_operator_errors("SUB" , symbol, symbol->deprecated_operation);} |
911 return NULL; |
911 void *print_datatypes_error_c::visit( MUL_operator_c *symbol) {return print_binary_operator_errors("MUL" , symbol, symbol->deprecated_operation);} |
912 } |
912 void *print_datatypes_error_c::visit( DIV_operator_c *symbol) {return print_binary_operator_errors("DIV" , symbol, symbol->deprecated_operation);} |
913 |
913 void *print_datatypes_error_c::visit( MOD_operator_c *symbol) {return print_binary_operator_errors("MOD" , symbol);} |
914 void *print_datatypes_error_c::visit(ORN_operator_c *symbol) { |
|
915 if ((symbol->candidate_datatypes.size() == 0) && |
|
916 (il_operand->candidate_datatypes.size() > 0)) |
|
917 STAGE3_ERROR(0, symbol, symbol, "Data type mismatch for 'ORN' operator."); |
|
918 return NULL; |
|
919 } |
|
920 |
|
921 void *print_datatypes_error_c::visit(XORN_operator_c *symbol) { |
|
922 if ((symbol->candidate_datatypes.size() == 0) && |
|
923 (il_operand->candidate_datatypes.size() > 0)) |
|
924 STAGE3_ERROR(0, symbol, symbol, "Data type mismatch for 'ORN' operator."); |
|
925 return NULL; |
|
926 } |
|
927 |
|
928 void *print_datatypes_error_c::visit(ADD_operator_c *symbol) {return print_binary_operator_errors("ADD", symbol, symbol->deprecated_operation);} |
|
929 void *print_datatypes_error_c::visit(SUB_operator_c *symbol) {return print_binary_operator_errors("SUB", symbol, symbol->deprecated_operation);} |
|
930 void *print_datatypes_error_c::visit(MUL_operator_c *symbol) {return print_binary_operator_errors("MUL", symbol, symbol->deprecated_operation);} |
|
931 void *print_datatypes_error_c::visit(DIV_operator_c *symbol) {return print_binary_operator_errors("DIV", symbol, symbol->deprecated_operation);} |
|
932 void *print_datatypes_error_c::visit(MOD_operator_c *symbol) {return print_binary_operator_errors("MOD", symbol);} |
|
933 |
914 |
934 void *print_datatypes_error_c::visit(GT_operator_c *symbol) { |
915 void *print_datatypes_error_c::visit(GT_operator_c *symbol) { |
935 return NULL; |
916 return NULL; |
936 } |
917 } |
937 |
918 |