hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp
changeset 46618 d503911aa948
parent 46560 388aa8d67c80
child 46619 a3919f5e8d2b
--- a/hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp	Wed Apr 12 13:05:59 2017 +0200
+++ b/hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp	Wed Apr 12 17:53:18 2017 +0200
@@ -697,7 +697,7 @@
   // Execute code. Illegal instructions will be replaced by 0 in the signal handler.
   VM_Version::_is_determine_features_test_running = true;
   // We must align the first argument to 16 bytes because of the lqarx check.
-  (*test)((address)align_size_up((intptr_t)mid_of_test_area, 16), (uint64_t)0);
+  (*test)(align_ptr_up(mid_of_test_area, 16), (uint64_t)0);
   VM_Version::_is_determine_features_test_running = false;
 
   // determine which instructions are legal.