8185333: [s390] Fix build without cds
authorgoetz
Wed, 26 Jul 2017 11:27:51 +0200
changeset 46721 5ea48e85ca90
parent 46720 5c3f87b90eff
child 46722 ae2cfffe2e64
8185333: [s390] Fix build without cds Reviewed-by: aph
hotspot/src/cpu/s390/vm/sharedRuntime_s390.cpp
--- a/hotspot/src/cpu/s390/vm/sharedRuntime_s390.cpp	Wed Jul 26 15:54:13 2017 +0800
+++ b/hotspot/src/cpu/s390/vm/sharedRuntime_s390.cpp	Wed Jul 26 11:27:51 2017 +0200
@@ -542,7 +542,6 @@
   }
 }
 
-#if INCLUDE_CDS
 size_t SharedRuntime::trampoline_size() {
   return MacroAssembler::load_const_size() + 2;
 }
@@ -552,7 +551,6 @@
   __ load_const(Z_R1_scratch, destination);
   __ z_br(Z_R1_scratch);
 }
-#endif
 
 // ---------------------------------------------------------------------------
 void SharedRuntime::save_native_result(MacroAssembler * masm,