Add common method to do that and use it in those places.
- relates to
-
JDK-8334560 [PPC64]: postalloc_expand_java_dynamic_call_sched does not copy all fields
- Resolved
-
JDK-8332903 ubsan: opto/output.cpp:1002:18: runtime error: load of value 171, which is not a valid value for type 'bool'
- Resolved