< prev index next >

src/hotspot/cpu/x86/nativeInst_x86.hpp

Print this page
@@ -125,11 +125,11 @@
    address displacement_address() const      { return addr_at(displacement_offset); }
    address return_address() const            { return addr_at(return_address_offset); }
    address destination() const;
    void  set_destination(address dest)       {
      intptr_t disp = dest - return_address();
-     guarantee(disp == (intptr_t)(jint)disp, "must be 32-bit offset");
+     guarantee(disp == (intptr_t)(jint)disp, "must be 32-bit offset: " INTPTR_FORMAT ", dest: " INTPTR_FORMAT ", ret_pc: " INTPTR_FORMAT, disp, p2i(dest), p2i(return_address()));
      set_int_at(displacement_offset, (int)(dest - return_address()));
    }
    // Returns whether the 4-byte displacement operand is 4-byte aligned.
    bool  is_displacement_aligned();
    void  set_destination_mt_safe(address dest);
< prev index next >