mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Remove debugging message
This commit is contained in:
parent
2d8221dffe
commit
f17c9e1e84
1 changed files with 0 additions and 5 deletions
|
@ -135,9 +135,6 @@ namespace System
|
||||||
if (mBitPos == -1)
|
if (mBitPos == -1)
|
||||||
mBitPos = isRev ? underlyingBitCount - bitCount : 0;
|
mBitPos = isRev ? underlyingBitCount - bitCount : 0;
|
||||||
|
|
||||||
if (Compiler.IsBuilding)
|
|
||||||
Debug.WriteLine($"OnFieldInit Name:{mName} BitPos:{mBitPos} BitCount:{bitCount} BuType:{buType}");
|
|
||||||
|
|
||||||
int bitSize = fieldInfo.FieldType.Size * 8;
|
int bitSize = fieldInfo.FieldType.Size * 8;
|
||||||
if ((mBitPos < 0) || (mBitPos + bitCount > bitSize))
|
if ((mBitPos < 0) || (mBitPos + bitCount > bitSize))
|
||||||
Runtime.FatalError("Bitfield exceeds bounds of underlying value");
|
Runtime.FatalError("Bitfield exceeds bounds of underlying value");
|
||||||
|
@ -269,8 +266,6 @@ namespace System
|
||||||
|
|
||||||
public this(ProtectionKind protection, String name, AccessFlags accessFlags = .Read | .Write) : base(protection, FixSpec(.Auto), name, accessFlags)
|
public this(ProtectionKind protection, String name, AccessFlags accessFlags = .Read | .Write) : base(protection, FixSpec(.Auto), name, accessFlags)
|
||||||
{
|
{
|
||||||
/*if (Compiler.IsBuilding)
|
|
||||||
Debug.WriteLine($"typeof.BitSize:{typeof(TField).BitSize} mBitCount:{mBitCount}"); //*/
|
|
||||||
mBFieldType = typeof(TField);
|
mBFieldType = typeof(TField);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue