< prev index next >

src/hotspot/cpu/s390/interp_masm_s390.cpp

Print this page




  19  *
  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 // Major contributions by AHa, AS, JL, ML.
  27 
  28 #include "precompiled.hpp"
  29 #include "asm/macroAssembler.inline.hpp"
  30 #include "interp_masm_s390.hpp"
  31 #include "interpreter/interpreter.hpp"
  32 #include "interpreter/interpreterRuntime.hpp"
  33 #include "oops/arrayOop.hpp"
  34 #include "oops/markOop.hpp"
  35 #include "prims/jvmtiExport.hpp"
  36 #include "prims/jvmtiThreadState.hpp"
  37 #include "runtime/basicLock.hpp"
  38 #include "runtime/biasedLocking.hpp"

  39 #include "runtime/safepointMechanism.hpp"
  40 #include "runtime/sharedRuntime.hpp"
  41 #include "runtime/thread.inline.hpp"
  42 
  43 // Implementation of InterpreterMacroAssembler.
  44 // This file specializes the assember with interpreter-specific macros.
  45 
  46 #ifdef PRODUCT
  47 #define BLOCK_COMMENT(str)
  48 #define BIND(label)        bind(label);
  49 #else
  50 #define BLOCK_COMMENT(str) block_comment(str)
  51 #define BIND(label)        bind(label); BLOCK_COMMENT(#label ":")
  52 #endif
  53 
  54 void InterpreterMacroAssembler::jump_to_entry(address entry, Register Rscratch) {
  55   assert(entry != NULL, "Entry must have been generated by now");
  56   assert(Rscratch != Z_R0, "Can't use R0 for addressing");
  57   branch_optimized(Assembler::bcondAlways, entry);
  58 }




  19  *
  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 // Major contributions by AHa, AS, JL, ML.
  27 
  28 #include "precompiled.hpp"
  29 #include "asm/macroAssembler.inline.hpp"
  30 #include "interp_masm_s390.hpp"
  31 #include "interpreter/interpreter.hpp"
  32 #include "interpreter/interpreterRuntime.hpp"
  33 #include "oops/arrayOop.hpp"
  34 #include "oops/markOop.hpp"
  35 #include "prims/jvmtiExport.hpp"
  36 #include "prims/jvmtiThreadState.hpp"
  37 #include "runtime/basicLock.hpp"
  38 #include "runtime/biasedLocking.hpp"
  39 #include "runtime/frame.inline.hpp"
  40 #include "runtime/safepointMechanism.hpp"
  41 #include "runtime/sharedRuntime.hpp"
  42 #include "runtime/thread.inline.hpp"
  43 
  44 // Implementation of InterpreterMacroAssembler.
  45 // This file specializes the assember with interpreter-specific macros.
  46 
  47 #ifdef PRODUCT
  48 #define BLOCK_COMMENT(str)
  49 #define BIND(label)        bind(label);
  50 #else
  51 #define BLOCK_COMMENT(str) block_comment(str)
  52 #define BIND(label)        bind(label); BLOCK_COMMENT(#label ":")
  53 #endif
  54 
  55 void InterpreterMacroAssembler::jump_to_entry(address entry, Register Rscratch) {
  56   assert(entry != NULL, "Entry must have been generated by now");
  57   assert(Rscratch != Z_R0, "Can't use R0 for addressing");
  58   branch_optimized(Assembler::bcondAlways, entry);
  59 }


< prev index next >