equal
deleted
inserted
replaced
2779 |
2779 |
2780 if (all_same) { |
2780 if (all_same) { |
2781 // Return the sole RegMask. |
2781 // Return the sole RegMask. |
2782 if (strcmp(first_reg_class, "stack_slots") == 0) { |
2782 if (strcmp(first_reg_class, "stack_slots") == 0) { |
2783 fprintf(fp," return &(Compile::current()->FIRST_STACK_mask());\n"); |
2783 fprintf(fp," return &(Compile::current()->FIRST_STACK_mask());\n"); |
|
2784 } else if (strcmp(first_reg_class, "dynamic") == 0) { |
|
2785 fprintf(fp," return &RegMask::Empty;\n"); |
2784 } else { |
2786 } else { |
2785 const char* first_reg_class_to_upper = toUpper(first_reg_class); |
2787 const char* first_reg_class_to_upper = toUpper(first_reg_class); |
2786 fprintf(fp," return &%s_mask();\n", first_reg_class_to_upper); |
2788 fprintf(fp," return &%s_mask();\n", first_reg_class_to_upper); |
2787 delete[] first_reg_class_to_upper; |
2789 delete[] first_reg_class_to_upper; |
2788 } |
2790 } |