< prev index next >

src/hotspot/cpu/zero/assembler_zero.cpp

Print this page




  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #include "precompiled.hpp"
  27 #include "assembler_zero.inline.hpp"
  28 #include "gc/shared/cardTableBarrierSet.hpp"
  29 #include "gc/shared/collectedHeap.inline.hpp"
  30 #include "interpreter/interpreter.hpp"
  31 #include "memory/resourceArea.hpp"
  32 #include "prims/methodHandles.hpp"
  33 #include "runtime/biasedLocking.hpp"
  34 #include "runtime/interfaceSupport.inline.hpp"
  35 #include "runtime/objectMonitor.hpp"
  36 #include "runtime/os.hpp"
  37 #include "runtime/sharedRuntime.hpp"
  38 #include "runtime/stubRoutines.hpp"
  39 #include "utilities/macros.hpp"
  40 #if INCLUDE_ALL_GCS
  41 #include "gc/g1/g1BarrierSet.hpp"
  42 #include "gc/g1/heapRegion.hpp"
  43 #endif // INCLUDE_ALL_GCS
  44 
  45 int AbstractAssembler::code_fill_byte() {
  46   return 0;
  47 }
  48 
  49 #ifdef ASSERT
  50 bool AbstractAssembler::pd_check_instruction_mark() {
  51   ShouldNotCallThis();
  52   return false;
  53 }
  54 #endif
  55 
  56 void Assembler::pd_patch_instruction(address branch, address target) {
  57   ShouldNotCallThis();
  58 }
  59 
  60 void MacroAssembler::align(int modulus) {
  61   while (offset() % modulus != 0)
  62     emit_int8(AbstractAssembler::code_fill_byte());
  63 }




  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #include "precompiled.hpp"
  27 #include "assembler_zero.inline.hpp"
  28 #include "gc/shared/cardTableBarrierSet.hpp"
  29 #include "gc/shared/collectedHeap.inline.hpp"
  30 #include "interpreter/interpreter.hpp"
  31 #include "memory/resourceArea.hpp"
  32 #include "prims/methodHandles.hpp"
  33 #include "runtime/biasedLocking.hpp"
  34 #include "runtime/interfaceSupport.inline.hpp"
  35 #include "runtime/objectMonitor.hpp"
  36 #include "runtime/os.hpp"
  37 #include "runtime/sharedRuntime.hpp"
  38 #include "runtime/stubRoutines.hpp"
  39 #include "utilities/macros.hpp"




  40 
  41 int AbstractAssembler::code_fill_byte() {
  42   return 0;
  43 }
  44 
  45 #ifdef ASSERT
  46 bool AbstractAssembler::pd_check_instruction_mark() {
  47   ShouldNotCallThis();
  48   return false;
  49 }
  50 #endif
  51 
  52 void Assembler::pd_patch_instruction(address branch, address target) {
  53   ShouldNotCallThis();
  54 }
  55 
  56 void MacroAssembler::align(int modulus) {
  57   while (offset() % modulus != 0)
  58     emit_int8(AbstractAssembler::code_fill_byte());
  59 }


< prev index next >