< prev index next >

src/hotspot/cpu/arm/nativeInst_arm_32.hpp

Print this page

415   // NativeCall::next_instruction_address() is used only to define the
416   // range where to look for the relocation information. We need not
417   // walk over composed instructions (as long as the relocation information
418   // is associated to the first instruction).
419   address next_instruction_address() const {
420     return next_raw_instruction_address();
421   }
422 
423 };
424 
425 inline NativeCall* nativeCall_at(address address) {
426   assert(nativeInstruction_at(address)->is_call() ||
427          (!VM_Version::supports_movw() && nativeInstruction_at(address)->is_jump()), "must be");
428   return (NativeCall*)address;
429 }
430 
431 inline NativeCall* nativeCall_before(address return_address) {
432   return (NativeCall *) rawNativeCall_before(return_address);
433 }
434 































435 #endif // CPU_ARM_NATIVEINST_ARM_32_HPP

415   // NativeCall::next_instruction_address() is used only to define the
416   // range where to look for the relocation information. We need not
417   // walk over composed instructions (as long as the relocation information
418   // is associated to the first instruction).
419   address next_instruction_address() const {
420     return next_raw_instruction_address();
421   }
422 
423 };
424 
425 inline NativeCall* nativeCall_at(address address) {
426   assert(nativeInstruction_at(address)->is_call() ||
427          (!VM_Version::supports_movw() && nativeInstruction_at(address)->is_jump()), "must be");
428   return (NativeCall*)address;
429 }
430 
431 inline NativeCall* nativeCall_before(address return_address) {
432   return (NativeCall *) rawNativeCall_before(return_address);
433 }
434 
435 class NativePostCallNop: public NativeInstruction {
436 public:
437   bool check() const { Unimplemented(); return false; }
438   int displacement() const { Unimplemented(); return 0; }
439   void patch(jint diff) { Unimplemented(); }
440   void make_deopt() { Unimplemented(); }
441 };
442 
443 inline NativePostCallNop* nativePostCallNop_at(address address) {
444   Unimplemented();
445   return NULL;
446 }
447 
448 class NativeDeoptInstruction: public NativeInstruction {
449 public:
450   address instruction_address() const       { Unimplemented(); return NULL; }
451   address next_instruction_address() const  { Unimplemented(); return NULL; }
452 
453   void  verify() { Unimplemented(); }
454 
455   static bool is_deopt_at(address instr) {
456     Unimplemented();
457     return false;
458   }
459 
460   // MT-safe patching
461   static void insert(address code_pos) {
462     Unimplemented();
463   }
464 };
465 
466 #endif // CPU_ARM_NATIVEINST_ARM_32_HPP
< prev index next >