src/cpu/zero/vm/assembler_zero.hpp

Print this page
rev 3850 : [mq]: shark.patch


  38  public:
  39   void pd_patch_instruction(address branch, address target);
  40 #ifndef PRODUCT
  41   static void pd_print_patched_instruction(address branch);
  42 #endif // PRODUCT
  43 };
  44 
  45 class MacroAssembler : public Assembler {
  46  public:
  47   MacroAssembler(CodeBuffer* code) : Assembler(code) {}
  48 
  49  public:
  50   void align(int modulus);
  51   void bang_stack_with_offset(int offset);
  52   bool needs_explicit_null_check(intptr_t offset);
  53   RegisterOrConstant delayed_value_impl(intptr_t* delayed_value_addr,
  54                                         Register tmp, int offset);
  55  public:
  56   void advance(int bytes);
  57   void store_oop(jobject obj);

  58 };
  59 
  60 #ifdef ASSERT
  61 inline bool AbstractAssembler::pd_check_instruction_mark() {
  62   ShouldNotCallThis();
  63 }
  64 #endif
  65 
  66 address ShouldNotCallThisStub();
  67 address ShouldNotCallThisEntry();
  68 
  69 #endif // CPU_ZERO_VM_ASSEMBLER_ZERO_HPP


  38  public:
  39   void pd_patch_instruction(address branch, address target);
  40 #ifndef PRODUCT
  41   static void pd_print_patched_instruction(address branch);
  42 #endif // PRODUCT
  43 };
  44 
  45 class MacroAssembler : public Assembler {
  46  public:
  47   MacroAssembler(CodeBuffer* code) : Assembler(code) {}
  48 
  49  public:
  50   void align(int modulus);
  51   void bang_stack_with_offset(int offset);
  52   bool needs_explicit_null_check(intptr_t offset);
  53   RegisterOrConstant delayed_value_impl(intptr_t* delayed_value_addr,
  54                                         Register tmp, int offset);
  55  public:
  56   void advance(int bytes);
  57   void store_oop(jobject obj);
  58   void store_Metadata(Metadata* obj);
  59 };
  60 
  61 #ifdef ASSERT
  62 inline bool AbstractAssembler::pd_check_instruction_mark() {
  63   ShouldNotCallThis();
  64 }
  65 #endif
  66 
  67 address ShouldNotCallThisStub();
  68 address ShouldNotCallThisEntry();
  69 
  70 #endif // CPU_ZERO_VM_ASSEMBLER_ZERO_HPP