1046 } |
1046 } |
1047 if (C->env()->dtrace_method_probes()) { |
1047 if (C->env()->dtrace_method_probes()) { |
1048 kit.make_dtrace_method_exit(method()); |
1048 kit.make_dtrace_method_exit(method()); |
1049 } |
1049 } |
1050 if (_replaced_nodes_for_exceptions) { |
1050 if (_replaced_nodes_for_exceptions) { |
1051 kit.map()->apply_replaced_nodes(); |
1051 kit.map()->apply_replaced_nodes(_new_idx); |
1052 } |
1052 } |
1053 // Done with exception-path processing. |
1053 // Done with exception-path processing. |
1054 ex_map = kit.make_exception_state(ex_oop); |
1054 ex_map = kit.make_exception_state(ex_oop); |
1055 assert(ex_jvms->same_calls_as(ex_map->jvms()), "sanity"); |
1055 assert(ex_jvms->same_calls_as(ex_map->jvms()), "sanity"); |
1056 // Pop the last vestige of this method: |
1056 // Pop the last vestige of this method: |
1067 SafePointNode* ex_map; |
1067 SafePointNode* ex_map; |
1068 while ((ex_map = caller.pop_exception_state()) != NULL) { |
1068 while ((ex_map = caller.pop_exception_state()) != NULL) { |
1069 _exits.add_exception_state(ex_map); |
1069 _exits.add_exception_state(ex_map); |
1070 } |
1070 } |
1071 } |
1071 } |
1072 _exits.map()->apply_replaced_nodes(); |
1072 _exits.map()->apply_replaced_nodes(_new_idx); |
1073 } |
1073 } |
1074 |
1074 |
1075 //-----------------------------create_entry_map------------------------------- |
1075 //-----------------------------create_entry_map------------------------------- |
1076 // Initialize our parser map to contain the types at method entry. |
1076 // Initialize our parser map to contain the types at method entry. |
1077 // For OSR, the map contains a single RawPtr parameter. |
1077 // For OSR, the map contains a single RawPtr parameter. |