예제 #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);
        }
예제 #3
0
 public static LLTemporaryLocation Create(LLTemporary pTemporary)
 {
     LLTemporaryLocation location = new LLTemporaryLocation(pTemporary.Type);
     location.mTemporary = pTemporary;
     return location;
 }