示例#1
0
        public override LLLocation Load(LLInstructionBlock pBlock)
        {
            LLLocation destination = LLTemporaryLocation.Create(pBlock.Function.CreateTemporary(Type.PointerDepthMinusOne));

            pBlock.EmitLoad(destination, this);
            return(destination);
        }
示例#2
0
        public static LLTemporaryLocation Create(LLTemporary pTemporary)
        {
            LLTemporaryLocation location = new LLTemporaryLocation(pTemporary.Type);

            location.mTemporary = pTemporary;
            return(location);
        }
 public static LLTemporaryLocation Create(LLTemporary pTemporary)
 {
     LLTemporaryLocation location = new LLTemporaryLocation(pTemporary.Type);
     location.mTemporary = pTemporary;
     return location;
 }