Permalink
Browse files

put common const variants of find_cclass and find_not_cclass back

git-svn-id: https://svn.parrot.org/parrot/branches/constant_unfolding@47246 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 689b499 commit 3c4bdfd6d2b38292b0ecc2e7874786ca85693e5f @plobsing plobsing committed Jun 1, 2010
Showing with 625 additions and 579 deletions.
  1. +2 −0 include/parrot/oplib/core_ops.h
  2. +145 −143 include/parrot/oplib/ops.h
  3. +145 −143 include/parrot/opsenum.h
  4. +329 −289 src/ops/core_ops.c
  5. +4 −4 src/ops/string.ops
@@ -920,7 +920,9 @@
opcode_t * Parrot_is_cclass_i_i_sc_ic(opcode_t *, PARROT_INTERP);
opcode_t * Parrot_is_cclass_i_ic_sc_ic(opcode_t *, PARROT_INTERP);
opcode_t * Parrot_find_cclass_i_i_s_i_i(opcode_t *, PARROT_INTERP);
+ opcode_t * Parrot_find_cclass_i_ic_s_i_i(opcode_t *, PARROT_INTERP);
opcode_t * Parrot_find_not_cclass_i_i_s_i_i(opcode_t *, PARROT_INTERP);
+ opcode_t * Parrot_find_not_cclass_i_ic_s_i_i(opcode_t *, PARROT_INTERP);
opcode_t * Parrot_escape_s_s(opcode_t *, PARROT_INTERP);
opcode_t * Parrot_compose_s_s(opcode_t *, PARROT_INTERP);
opcode_t * Parrot_compose_s_sc(opcode_t *, PARROT_INTERP);
View
@@ -915,149 +915,151 @@ typedef enum {
PARROT_OP_is_cclass_i_i_sc_ic, /* 896 */
PARROT_OP_is_cclass_i_ic_sc_ic, /* 897 */
PARROT_OP_find_cclass_i_i_s_i_i, /* 898 */
- PARROT_OP_find_not_cclass_i_i_s_i_i, /* 899 */
- PARROT_OP_escape_s_s, /* 900 */
- PARROT_OP_compose_s_s, /* 901 */
- PARROT_OP_compose_s_sc, /* 902 */
- PARROT_OP_spawnw_i_s, /* 903 */
- PARROT_OP_spawnw_i_sc, /* 904 */
- PARROT_OP_spawnw_i_p, /* 905 */
- PARROT_OP_err_i, /* 906 */
- PARROT_OP_err_s, /* 907 */
- PARROT_OP_err_s_i, /* 908 */
- PARROT_OP_err_s_ic, /* 909 */
- PARROT_OP_time_i, /* 910 */
- PARROT_OP_time_n, /* 911 */
- PARROT_OP_sleep_i, /* 912 */
- PARROT_OP_sleep_ic, /* 913 */
- PARROT_OP_sleep_n, /* 914 */
- PARROT_OP_sleep_nc, /* 915 */
- PARROT_OP_store_lex_s_p, /* 916 */
- PARROT_OP_store_lex_sc_p, /* 917 */
- PARROT_OP_store_dynamic_lex_s_p, /* 918 */
- PARROT_OP_store_dynamic_lex_sc_p, /* 919 */
- PARROT_OP_find_lex_p_s, /* 920 */
- PARROT_OP_find_lex_p_sc, /* 921 */
- PARROT_OP_find_dynamic_lex_p_s, /* 922 */
- PARROT_OP_find_dynamic_lex_p_sc, /* 923 */
- PARROT_OP_find_caller_lex_p_s, /* 924 */
- PARROT_OP_find_caller_lex_p_sc, /* 925 */
- PARROT_OP_get_namespace_p, /* 926 */
- PARROT_OP_get_namespace_p_p, /* 927 */
- PARROT_OP_get_namespace_p_pc, /* 928 */
- PARROT_OP_get_hll_namespace_p, /* 929 */
- PARROT_OP_get_hll_namespace_p_p, /* 930 */
- PARROT_OP_get_hll_namespace_p_pc, /* 931 */
- PARROT_OP_get_root_namespace_p, /* 932 */
- PARROT_OP_get_root_namespace_p_p, /* 933 */
- PARROT_OP_get_root_namespace_p_pc, /* 934 */
- PARROT_OP_get_global_p_s, /* 935 */
- PARROT_OP_get_global_p_sc, /* 936 */
- PARROT_OP_get_global_p_p_s, /* 937 */
- PARROT_OP_get_global_p_pc_s, /* 938 */
- PARROT_OP_get_global_p_p_sc, /* 939 */
- PARROT_OP_get_global_p_pc_sc, /* 940 */
- PARROT_OP_get_hll_global_p_s, /* 941 */
- PARROT_OP_get_hll_global_p_sc, /* 942 */
- PARROT_OP_get_hll_global_p_p_s, /* 943 */
- PARROT_OP_get_hll_global_p_pc_s, /* 944 */
- PARROT_OP_get_hll_global_p_p_sc, /* 945 */
- PARROT_OP_get_hll_global_p_pc_sc, /* 946 */
- PARROT_OP_get_root_global_p_s, /* 947 */
- PARROT_OP_get_root_global_p_sc, /* 948 */
- PARROT_OP_get_root_global_p_p_s, /* 949 */
- PARROT_OP_get_root_global_p_pc_s, /* 950 */
- PARROT_OP_get_root_global_p_p_sc, /* 951 */
- PARROT_OP_get_root_global_p_pc_sc, /* 952 */
- PARROT_OP_set_global_s_p, /* 953 */
- PARROT_OP_set_global_sc_p, /* 954 */
- PARROT_OP_set_global_p_s_p, /* 955 */
- PARROT_OP_set_global_pc_s_p, /* 956 */
- PARROT_OP_set_global_p_sc_p, /* 957 */
- PARROT_OP_set_global_pc_sc_p, /* 958 */
- PARROT_OP_set_hll_global_s_p, /* 959 */
- PARROT_OP_set_hll_global_sc_p, /* 960 */
- PARROT_OP_set_hll_global_p_s_p, /* 961 */
- PARROT_OP_set_hll_global_pc_s_p, /* 962 */
- PARROT_OP_set_hll_global_p_sc_p, /* 963 */
- PARROT_OP_set_hll_global_pc_sc_p, /* 964 */
- PARROT_OP_set_root_global_s_p, /* 965 */
- PARROT_OP_set_root_global_sc_p, /* 966 */
- PARROT_OP_set_root_global_p_s_p, /* 967 */
- PARROT_OP_set_root_global_pc_s_p, /* 968 */
- PARROT_OP_set_root_global_p_sc_p, /* 969 */
- PARROT_OP_set_root_global_pc_sc_p, /* 970 */
- PARROT_OP_find_name_p_s, /* 971 */
- PARROT_OP_find_name_p_sc, /* 972 */
- PARROT_OP_find_sub_not_null_p_s, /* 973 */
- PARROT_OP_find_sub_not_null_p_sc, /* 974 */
- PARROT_OP_trap, /* 975 */
- PARROT_OP_set_label_p_ic, /* 976 */
- PARROT_OP_get_label_i_p, /* 977 */
- PARROT_OP_fetch_p_p_p_p, /* 978 */
- PARROT_OP_fetch_p_pc_p_p, /* 979 */
- PARROT_OP_fetch_p_p_pc_p, /* 980 */
- PARROT_OP_fetch_p_pc_pc_p, /* 981 */
- PARROT_OP_fetch_p_p_p_pc, /* 982 */
- PARROT_OP_fetch_p_pc_p_pc, /* 983 */
- PARROT_OP_fetch_p_p_pc_pc, /* 984 */
- PARROT_OP_fetch_p_pc_pc_pc, /* 985 */
- PARROT_OP_fetch_p_p_i_p, /* 986 */
- PARROT_OP_fetch_p_pc_i_p, /* 987 */
- PARROT_OP_fetch_p_p_ic_p, /* 988 */
- PARROT_OP_fetch_p_pc_ic_p, /* 989 */
- PARROT_OP_fetch_p_p_i_pc, /* 990 */
- PARROT_OP_fetch_p_pc_i_pc, /* 991 */
- PARROT_OP_fetch_p_p_ic_pc, /* 992 */
- PARROT_OP_fetch_p_pc_ic_pc, /* 993 */
- PARROT_OP_fetch_p_p_s_p, /* 994 */
- PARROT_OP_fetch_p_pc_s_p, /* 995 */
- PARROT_OP_fetch_p_p_sc_p, /* 996 */
- PARROT_OP_fetch_p_pc_sc_p, /* 997 */
- PARROT_OP_fetch_p_p_s_pc, /* 998 */
- PARROT_OP_fetch_p_pc_s_pc, /* 999 */
- PARROT_OP_fetch_p_p_sc_pc, /* 1000 */
- PARROT_OP_fetch_p_pc_sc_pc, /* 1001 */
- PARROT_OP_vivify_p_p_p_p, /* 1002 */
- PARROT_OP_vivify_p_pc_p_p, /* 1003 */
- PARROT_OP_vivify_p_p_pc_p, /* 1004 */
- PARROT_OP_vivify_p_pc_pc_p, /* 1005 */
- PARROT_OP_vivify_p_p_p_pc, /* 1006 */
- PARROT_OP_vivify_p_pc_p_pc, /* 1007 */
- PARROT_OP_vivify_p_p_pc_pc, /* 1008 */
- PARROT_OP_vivify_p_pc_pc_pc, /* 1009 */
- PARROT_OP_vivify_p_p_i_p, /* 1010 */
- PARROT_OP_vivify_p_pc_i_p, /* 1011 */
- PARROT_OP_vivify_p_p_ic_p, /* 1012 */
- PARROT_OP_vivify_p_pc_ic_p, /* 1013 */
- PARROT_OP_vivify_p_p_i_pc, /* 1014 */
- PARROT_OP_vivify_p_pc_i_pc, /* 1015 */
- PARROT_OP_vivify_p_p_ic_pc, /* 1016 */
- PARROT_OP_vivify_p_pc_ic_pc, /* 1017 */
- PARROT_OP_vivify_p_p_s_p, /* 1018 */
- PARROT_OP_vivify_p_pc_s_p, /* 1019 */
- PARROT_OP_vivify_p_p_sc_p, /* 1020 */
- PARROT_OP_vivify_p_pc_sc_p, /* 1021 */
- PARROT_OP_vivify_p_p_s_pc, /* 1022 */
- PARROT_OP_vivify_p_pc_s_pc, /* 1023 */
- PARROT_OP_vivify_p_p_sc_pc, /* 1024 */
- PARROT_OP_vivify_p_pc_sc_pc, /* 1025 */
- PARROT_OP_new_p_s_i, /* 1026 */
- PARROT_OP_new_p_sc_i, /* 1027 */
- PARROT_OP_new_p_s_ic, /* 1028 */
- PARROT_OP_new_p_sc_ic, /* 1029 */
- PARROT_OP_new_p_p_i, /* 1030 */
- PARROT_OP_new_p_pc_i, /* 1031 */
- PARROT_OP_new_p_p_ic, /* 1032 */
- PARROT_OP_new_p_pc_ic, /* 1033 */
- PARROT_OP_root_new_p_p_i, /* 1034 */
- PARROT_OP_root_new_p_pc_i, /* 1035 */
- PARROT_OP_root_new_p_p_ic, /* 1036 */
- PARROT_OP_root_new_p_pc_ic, /* 1037 */
- PARROT_OP_find_codepoint_i_s, /* 1038 */
- PARROT_OP_find_codepoint_i_sc, /* 1039 */
- PARROT_OP_finalize_p, /* 1040 */
- PARROT_OP_finalize_pc /* 1041 */
+ PARROT_OP_find_cclass_i_ic_s_i_i, /* 899 */
+ PARROT_OP_find_not_cclass_i_i_s_i_i, /* 900 */
+ PARROT_OP_find_not_cclass_i_ic_s_i_i, /* 901 */
+ PARROT_OP_escape_s_s, /* 902 */
+ PARROT_OP_compose_s_s, /* 903 */
+ PARROT_OP_compose_s_sc, /* 904 */
+ PARROT_OP_spawnw_i_s, /* 905 */
+ PARROT_OP_spawnw_i_sc, /* 906 */
+ PARROT_OP_spawnw_i_p, /* 907 */
+ PARROT_OP_err_i, /* 908 */
+ PARROT_OP_err_s, /* 909 */
+ PARROT_OP_err_s_i, /* 910 */
+ PARROT_OP_err_s_ic, /* 911 */
+ PARROT_OP_time_i, /* 912 */
+ PARROT_OP_time_n, /* 913 */
+ PARROT_OP_sleep_i, /* 914 */
+ PARROT_OP_sleep_ic, /* 915 */
+ PARROT_OP_sleep_n, /* 916 */
+ PARROT_OP_sleep_nc, /* 917 */
+ PARROT_OP_store_lex_s_p, /* 918 */
+ PARROT_OP_store_lex_sc_p, /* 919 */
+ PARROT_OP_store_dynamic_lex_s_p, /* 920 */
+ PARROT_OP_store_dynamic_lex_sc_p, /* 921 */
+ PARROT_OP_find_lex_p_s, /* 922 */
+ PARROT_OP_find_lex_p_sc, /* 923 */
+ PARROT_OP_find_dynamic_lex_p_s, /* 924 */
+ PARROT_OP_find_dynamic_lex_p_sc, /* 925 */
+ PARROT_OP_find_caller_lex_p_s, /* 926 */
+ PARROT_OP_find_caller_lex_p_sc, /* 927 */
+ PARROT_OP_get_namespace_p, /* 928 */
+ PARROT_OP_get_namespace_p_p, /* 929 */
+ PARROT_OP_get_namespace_p_pc, /* 930 */
+ PARROT_OP_get_hll_namespace_p, /* 931 */
+ PARROT_OP_get_hll_namespace_p_p, /* 932 */
+ PARROT_OP_get_hll_namespace_p_pc, /* 933 */
+ PARROT_OP_get_root_namespace_p, /* 934 */
+ PARROT_OP_get_root_namespace_p_p, /* 935 */
+ PARROT_OP_get_root_namespace_p_pc, /* 936 */
+ PARROT_OP_get_global_p_s, /* 937 */
+ PARROT_OP_get_global_p_sc, /* 938 */
+ PARROT_OP_get_global_p_p_s, /* 939 */
+ PARROT_OP_get_global_p_pc_s, /* 940 */
+ PARROT_OP_get_global_p_p_sc, /* 941 */
+ PARROT_OP_get_global_p_pc_sc, /* 942 */
+ PARROT_OP_get_hll_global_p_s, /* 943 */
+ PARROT_OP_get_hll_global_p_sc, /* 944 */
+ PARROT_OP_get_hll_global_p_p_s, /* 945 */
+ PARROT_OP_get_hll_global_p_pc_s, /* 946 */
+ PARROT_OP_get_hll_global_p_p_sc, /* 947 */
+ PARROT_OP_get_hll_global_p_pc_sc, /* 948 */
+ PARROT_OP_get_root_global_p_s, /* 949 */
+ PARROT_OP_get_root_global_p_sc, /* 950 */
+ PARROT_OP_get_root_global_p_p_s, /* 951 */
+ PARROT_OP_get_root_global_p_pc_s, /* 952 */
+ PARROT_OP_get_root_global_p_p_sc, /* 953 */
+ PARROT_OP_get_root_global_p_pc_sc, /* 954 */
+ PARROT_OP_set_global_s_p, /* 955 */
+ PARROT_OP_set_global_sc_p, /* 956 */
+ PARROT_OP_set_global_p_s_p, /* 957 */
+ PARROT_OP_set_global_pc_s_p, /* 958 */
+ PARROT_OP_set_global_p_sc_p, /* 959 */
+ PARROT_OP_set_global_pc_sc_p, /* 960 */
+ PARROT_OP_set_hll_global_s_p, /* 961 */
+ PARROT_OP_set_hll_global_sc_p, /* 962 */
+ PARROT_OP_set_hll_global_p_s_p, /* 963 */
+ PARROT_OP_set_hll_global_pc_s_p, /* 964 */
+ PARROT_OP_set_hll_global_p_sc_p, /* 965 */
+ PARROT_OP_set_hll_global_pc_sc_p, /* 966 */
+ PARROT_OP_set_root_global_s_p, /* 967 */
+ PARROT_OP_set_root_global_sc_p, /* 968 */
+ PARROT_OP_set_root_global_p_s_p, /* 969 */
+ PARROT_OP_set_root_global_pc_s_p, /* 970 */
+ PARROT_OP_set_root_global_p_sc_p, /* 971 */
+ PARROT_OP_set_root_global_pc_sc_p, /* 972 */
+ PARROT_OP_find_name_p_s, /* 973 */
+ PARROT_OP_find_name_p_sc, /* 974 */
+ PARROT_OP_find_sub_not_null_p_s, /* 975 */
+ PARROT_OP_find_sub_not_null_p_sc, /* 976 */
+ PARROT_OP_trap, /* 977 */
+ PARROT_OP_set_label_p_ic, /* 978 */
+ PARROT_OP_get_label_i_p, /* 979 */
+ PARROT_OP_fetch_p_p_p_p, /* 980 */
+ PARROT_OP_fetch_p_pc_p_p, /* 981 */
+ PARROT_OP_fetch_p_p_pc_p, /* 982 */
+ PARROT_OP_fetch_p_pc_pc_p, /* 983 */
+ PARROT_OP_fetch_p_p_p_pc, /* 984 */
+ PARROT_OP_fetch_p_pc_p_pc, /* 985 */
+ PARROT_OP_fetch_p_p_pc_pc, /* 986 */
+ PARROT_OP_fetch_p_pc_pc_pc, /* 987 */
+ PARROT_OP_fetch_p_p_i_p, /* 988 */
+ PARROT_OP_fetch_p_pc_i_p, /* 989 */
+ PARROT_OP_fetch_p_p_ic_p, /* 990 */
+ PARROT_OP_fetch_p_pc_ic_p, /* 991 */
+ PARROT_OP_fetch_p_p_i_pc, /* 992 */
+ PARROT_OP_fetch_p_pc_i_pc, /* 993 */
+ PARROT_OP_fetch_p_p_ic_pc, /* 994 */
+ PARROT_OP_fetch_p_pc_ic_pc, /* 995 */
+ PARROT_OP_fetch_p_p_s_p, /* 996 */
+ PARROT_OP_fetch_p_pc_s_p, /* 997 */
+ PARROT_OP_fetch_p_p_sc_p, /* 998 */
+ PARROT_OP_fetch_p_pc_sc_p, /* 999 */
+ PARROT_OP_fetch_p_p_s_pc, /* 1000 */
+ PARROT_OP_fetch_p_pc_s_pc, /* 1001 */
+ PARROT_OP_fetch_p_p_sc_pc, /* 1002 */
+ PARROT_OP_fetch_p_pc_sc_pc, /* 1003 */
+ PARROT_OP_vivify_p_p_p_p, /* 1004 */
+ PARROT_OP_vivify_p_pc_p_p, /* 1005 */
+ PARROT_OP_vivify_p_p_pc_p, /* 1006 */
+ PARROT_OP_vivify_p_pc_pc_p, /* 1007 */
+ PARROT_OP_vivify_p_p_p_pc, /* 1008 */
+ PARROT_OP_vivify_p_pc_p_pc, /* 1009 */
+ PARROT_OP_vivify_p_p_pc_pc, /* 1010 */
+ PARROT_OP_vivify_p_pc_pc_pc, /* 1011 */
+ PARROT_OP_vivify_p_p_i_p, /* 1012 */
+ PARROT_OP_vivify_p_pc_i_p, /* 1013 */
+ PARROT_OP_vivify_p_p_ic_p, /* 1014 */
+ PARROT_OP_vivify_p_pc_ic_p, /* 1015 */
+ PARROT_OP_vivify_p_p_i_pc, /* 1016 */
+ PARROT_OP_vivify_p_pc_i_pc, /* 1017 */
+ PARROT_OP_vivify_p_p_ic_pc, /* 1018 */
+ PARROT_OP_vivify_p_pc_ic_pc, /* 1019 */
+ PARROT_OP_vivify_p_p_s_p, /* 1020 */
+ PARROT_OP_vivify_p_pc_s_p, /* 1021 */
+ PARROT_OP_vivify_p_p_sc_p, /* 1022 */
+ PARROT_OP_vivify_p_pc_sc_p, /* 1023 */
+ PARROT_OP_vivify_p_p_s_pc, /* 1024 */
+ PARROT_OP_vivify_p_pc_s_pc, /* 1025 */
+ PARROT_OP_vivify_p_p_sc_pc, /* 1026 */
+ PARROT_OP_vivify_p_pc_sc_pc, /* 1027 */
+ PARROT_OP_new_p_s_i, /* 1028 */
+ PARROT_OP_new_p_sc_i, /* 1029 */
+ PARROT_OP_new_p_s_ic, /* 1030 */
+ PARROT_OP_new_p_sc_ic, /* 1031 */
+ PARROT_OP_new_p_p_i, /* 1032 */
+ PARROT_OP_new_p_pc_i, /* 1033 */
+ PARROT_OP_new_p_p_ic, /* 1034 */
+ PARROT_OP_new_p_pc_ic, /* 1035 */
+ PARROT_OP_root_new_p_p_i, /* 1036 */
+ PARROT_OP_root_new_p_pc_i, /* 1037 */
+ PARROT_OP_root_new_p_p_ic, /* 1038 */
+ PARROT_OP_root_new_p_pc_ic, /* 1039 */
+ PARROT_OP_find_codepoint_i_s, /* 1040 */
+ PARROT_OP_find_codepoint_i_sc, /* 1041 */
+ PARROT_OP_finalize_p, /* 1042 */
+ PARROT_OP_finalize_pc /* 1043 */
} parrot_opcode_enums;
Oops, something went wrong.

0 comments on commit 3c4bdfd

Please sign in to comment.