public static LLCompareExchangeInstruction Create(LLFunction pFunction, LLLocation pDestination, LLLocation pPointerSource, LLLocation pComparedSource, LLLocation pNewSource, LLCompareExchangeOrdering pOrdering)
 {
     LLCompareExchangeInstruction instruction = new LLCompareExchangeInstruction(pFunction);
     instruction.mDestination = pDestination;
     instruction.mPointerSource = pPointerSource;
     instruction.mComparedSource = pComparedSource;
     instruction.mNewSource = pNewSource;
     instruction.mOrdering = pOrdering;
     return instruction;
 }
 public void EmitCompareExchange(LLLocation pDestination, LLLocation pPointerSource, LLLocation pComparedSource, LLLocation pNewSource, LLCompareExchangeOrdering pOrdering)
 {
     Emit(LLCompareExchangeInstruction.Create(mFunction, pDestination, pPointerSource, pComparedSource, pNewSource, pOrdering));
 }
Example #3
0
 public void EmitCompareExchange(LLLocation pDestination, LLLocation pPointerSource, LLLocation pComparedSource, LLLocation pNewSource, LLCompareExchangeOrdering pOrdering)
 {
     Emit(LLCompareExchangeInstruction.Create(mFunction, pDestination, pPointerSource, pComparedSource, pNewSource, pOrdering));
 }
        public static LLCompareExchangeInstruction Create(LLFunction pFunction, LLLocation pDestination, LLLocation pPointerSource, LLLocation pComparedSource, LLLocation pNewSource, LLCompareExchangeOrdering pOrdering)
        {
            LLCompareExchangeInstruction instruction = new LLCompareExchangeInstruction(pFunction);

            instruction.mDestination    = pDestination;
            instruction.mPointerSource  = pPointerSource;
            instruction.mComparedSource = pComparedSource;
            instruction.mNewSource      = pNewSource;
            instruction.mOrdering       = pOrdering;
            return(instruction);
        }