821 |
821 |
822 // Resolve string constants (to prevent allocation during compilation) |
822 // Resolve string constants (to prevent allocation during compilation) |
823 static void resolve_string_constants_impl(constantPoolHandle this_cp, TRAPS); |
823 static void resolve_string_constants_impl(constantPoolHandle this_cp, TRAPS); |
824 |
824 |
825 static oop resolve_constant_at_impl(constantPoolHandle this_cp, int index, int cache_index, TRAPS); |
825 static oop resolve_constant_at_impl(constantPoolHandle this_cp, int index, int cache_index, TRAPS); |
826 static void save_and_throw_exception(constantPoolHandle this_cp, int which, int tag_value, TRAPS); |
|
827 static oop resolve_bootstrap_specifier_at_impl(constantPoolHandle this_cp, int index, TRAPS); |
826 static oop resolve_bootstrap_specifier_at_impl(constantPoolHandle this_cp, int index, TRAPS); |
|
827 |
|
828 // Exception handling |
|
829 static void throw_resolution_error(constantPoolHandle this_cp, int which, TRAPS); |
|
830 static Symbol* exception_message(constantPoolHandle this_cp, int which, constantTag tag, oop pending_exception); |
|
831 static void save_and_throw_exception(constantPoolHandle this_cp, int which, constantTag tag, TRAPS); |
828 |
832 |
829 public: |
833 public: |
830 // Merging ConstantPool* support: |
834 // Merging ConstantPool* support: |
831 bool compare_entry_to(int index1, constantPoolHandle cp2, int index2, TRAPS); |
835 bool compare_entry_to(int index1, constantPoolHandle cp2, int index2, TRAPS); |
832 void copy_cp_to(int start_i, int end_i, constantPoolHandle to_cp, int to_i, TRAPS) { |
836 void copy_cp_to(int start_i, int end_i, constantPoolHandle to_cp, int to_i, TRAPS) { |