< prev index next >

src/hotspot/cpu/ppc/nativeInst_ppc.hpp

Print this page

486     ICache::ppc64_flush_icache_bytes(addr_at(0), NativeMovRegMem::instruction_size);
487   }
488 
489   void add_offset_in_bytes(intptr_t radd_offset) {
490     set_offset(offset() + radd_offset);
491   }
492 
493   void verify() const {
494     guarantee(Assembler::is_lis(long_at(0)), "load_const32 1st instr");
495     guarantee(Assembler::is_ori(long_at(4)), "load_const32 2nd instr");
496   }
497 
498  private:
499   friend inline NativeMovRegMem* nativeMovRegMem_at(address address) {
500     NativeMovRegMem* test = (NativeMovRegMem*)address;
501     DEBUG_ONLY( test->verify(); )
502     return test;
503   }
504 };
505 































506 #endif // CPU_PPC_NATIVEINST_PPC_HPP

486     ICache::ppc64_flush_icache_bytes(addr_at(0), NativeMovRegMem::instruction_size);
487   }
488 
489   void add_offset_in_bytes(intptr_t radd_offset) {
490     set_offset(offset() + radd_offset);
491   }
492 
493   void verify() const {
494     guarantee(Assembler::is_lis(long_at(0)), "load_const32 1st instr");
495     guarantee(Assembler::is_ori(long_at(4)), "load_const32 2nd instr");
496   }
497 
498  private:
499   friend inline NativeMovRegMem* nativeMovRegMem_at(address address) {
500     NativeMovRegMem* test = (NativeMovRegMem*)address;
501     DEBUG_ONLY( test->verify(); )
502     return test;
503   }
504 };
505 
506 class NativePostCallNop: public NativeInstruction {
507 public:
508   bool check() const { Unimplemented(); return false; }
509   int displacement() const { Unimplemented(); return 0; }
510   void patch(jint diff) { Unimplemented(); }
511   void make_deopt() { Unimplemented(); }
512 };
513 
514 inline NativePostCallNop* nativePostCallNop_at(address address) {
515   Unimplemented();
516   return NULL;
517 }
518 
519 class NativeDeoptInstruction: public NativeInstruction {
520 public:
521   address instruction_address() const       { Unimplemented(); return NULL; }
522   address next_instruction_address() const  { Unimplemented(); return NULL; }
523 
524   void  verify() { Unimplemented(); }
525 
526   static bool is_deopt_at(address instr) {
527     Unimplemented();
528     return false;
529   }
530 
531   // MT-safe patching
532   static void insert(address code_pos) {
533     Unimplemented();
534   }
535 };
536 
537 #endif // CPU_PPC_NATIVEINST_PPC_HPP
< prev index next >