< prev index next >

src/cpu/ppc/vm/c1_Runtime1_ppc.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 #include "precompiled.hpp"
  27 #include "c1/c1_Defs.hpp"
  28 #include "c1/c1_MacroAssembler.hpp"
  29 #include "c1/c1_Runtime1.hpp"
  30 #include "interpreter/interpreter.hpp"
  31 #include "nativeInst_ppc.hpp"
  32 #include "oops/compiledICHolder.hpp"
  33 #include "oops/oop.inline.hpp"
  34 #include "prims/jvmtiExport.hpp"
  35 #include "register_ppc.hpp"
  36 #include "runtime/sharedRuntime.hpp"
  37 #include "runtime/signature.hpp"
  38 #include "runtime/vframeArray.hpp"

  39 #include "utilities/macros.hpp"
  40 #include "vmreg_ppc.inline.hpp"
  41 #if INCLUDE_ALL_GCS
  42 #include "gc/g1/g1SATBCardTableModRefBS.hpp"
  43 #endif
  44 
  45 // Implementation of StubAssembler
  46 
  47 int StubAssembler::call_RT(Register oop_result1, Register metadata_result,
  48                            address entry_point, int number_of_arguments) {
  49   set_num_rt_args(0); // Nothing on stack
  50   assert(!(oop_result1->is_valid() || metadata_result->is_valid()) ||
  51          oop_result1 != metadata_result, "registers must be different");
  52 
  53   // Currently no stack banging. We assume that there are enough
  54   // StackShadowPages (which have been banged in generate_stack_overflow_check)
  55   // for the stub frame and the runtime frames.
  56 
  57   set_last_Java_frame(R1_SP, noreg);
  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 #include "precompiled.hpp"
  27 #include "c1/c1_Defs.hpp"
  28 #include "c1/c1_MacroAssembler.hpp"
  29 #include "c1/c1_Runtime1.hpp"
  30 #include "interpreter/interpreter.hpp"
  31 #include "nativeInst_ppc.hpp"
  32 #include "oops/compiledICHolder.hpp"
  33 #include "oops/oop.inline.hpp"
  34 #include "prims/jvmtiExport.hpp"
  35 #include "register_ppc.hpp"
  36 #include "runtime/sharedRuntime.hpp"
  37 #include "runtime/signature.hpp"
  38 #include "runtime/vframeArray.hpp"
  39 #include "utilities/align.hpp"
  40 #include "utilities/macros.hpp"
  41 #include "vmreg_ppc.inline.hpp"
  42 #if INCLUDE_ALL_GCS
  43 #include "gc/g1/g1SATBCardTableModRefBS.hpp"
  44 #endif
  45 
  46 // Implementation of StubAssembler
  47 
  48 int StubAssembler::call_RT(Register oop_result1, Register metadata_result,
  49                            address entry_point, int number_of_arguments) {
  50   set_num_rt_args(0); // Nothing on stack
  51   assert(!(oop_result1->is_valid() || metadata_result->is_valid()) ||
  52          oop_result1 != metadata_result, "registers must be different");
  53 
  54   // Currently no stack banging. We assume that there are enough
  55   // StackShadowPages (which have been banged in generate_stack_overflow_check)
  56   // for the stub frame and the runtime frames.
  57 
  58   set_last_Java_frame(R1_SP, noreg);
  59 


< prev index next >