public static LLInstructionBlock Create(LLFunction pFunction, LLLabel pStartLabel) { LLInstructionBlock block = new LLInstructionBlock(); block.mFunction = pFunction; block.mStartLabel = pStartLabel; block.EmitLabel(pStartLabel); return block; }
public static LLInstructionBlock Create(LLFunction pFunction, LLLabel pStartLabel) { LLInstructionBlock block = new LLInstructionBlock(); block.mFunction = pFunction; block.mStartLabel = pStartLabel; block.EmitLabel(pStartLabel); return(block); }
public LLInstructionBlock CreateBlock(LLLabel pStartLabel) { if (mBlocks == null) { mBlocks = new List <LLInstructionBlock>(); } LLInstructionBlock block = LLInstructionBlock.Create(this, pStartLabel); mBlocks.Add(block); if (mBlocks.Count == 1) { if (mLocals != null) { foreach (LLLocal local in mLocals) { block.EmitAllocate(LLLocalLocation.Create(local)); } } } return(block); }
public virtual void Store(LLInstructionBlock pBlock, LLLocation pSource) { throw new NotSupportedException(); }
public virtual LLLocation Load(LLInstructionBlock pBlock) { throw new NotSupportedException(); }
public virtual void Store(LLInstructionBlock pBlock, LLLocation pSource) { throw new NotSupportedException(); }
public virtual LLLocation Load(LLInstructionBlock pBlock) { throw new NotSupportedException(); }