private Mem BaseVarMem(BaseVar var, int ptrSize) { Contract.Requires(var != null); int memSize = (ptrSize == Operand.InvalidValue ? var.Size : (byte)ptrSize); Mem m = new Mem(var.Id, memSize); return m; }
internal static Mem BaseVarMem(BaseVar var, int ptrSize) { Contract.Requires(var != null); int memSize = (ptrSize == InvalidValue) ? var.Size : (byte)ptrSize; Mem m = new Mem(var.Id, memSize); return m; }