< prev index next >

src/hotspot/cpu/ppc/c2_MacroAssembler_ppc.hpp

Print this page
@@ -26,10 +26,16 @@
  #define CPU_PPC_C2_MACROASSEMBLER_PPC_HPP
  
  // C2_MacroAssembler contains high-level macros for C2
  
   public:
+   // Code used by cmpFastLockLightweight and cmpFastUnlockLightweight mach instructions in .ad file.
+   void fast_lock_lightweight(ConditionRegister flag, Register obj, Register box,
+                              Register tmp1, Register tmp2, Register tmp3);
+   void fast_unlock_lightweight(ConditionRegister flag, Register obj, Register box,
+                                Register tmp1, Register tmp2, Register tmp3);
+ 
    // Intrinsics for CompactStrings
    // Compress char[] to byte[] by compressing 16 bytes at once.
    void string_compress_16(Register src, Register dst, Register cnt,
                            Register tmp1, Register tmp2, Register tmp3, Register tmp4, Register tmp5,
                            Label& Lfailure, bool ascii = false);
< prev index next >