public object VisitSizeof(SizeofExpression sizeOf) { var bits = platform.GetBitSizeFromCBasicType(CBasicType.Int); var granularity = platform.Architecture.MemoryGranularity; return((bits + (granularity - 1)) / granularity); }
public object VisitSizeof(SizeofExpression sizeOf) { return(platform.GetByteSizeFromCBasicType(CBasicType.Int)); }
public object VisitSizeof(SizeofExpression sizeOf) { return(4); //$BUGBUG: }