修复一些错误并更新README

This commit is contained in:
2025-10-09 14:40:58 +08:00
parent a09b3c1eb1
commit 63f09b6196
13 changed files with 83 additions and 60 deletions

View File

@@ -4,7 +4,9 @@ using System.Reflection.Emit;
namespace Flee.InternalTypes
{
[Obsolete("Manages branch information and allows us to determine if we should emit a short or long branch")]
/// <summary>
/// 管理分支信息,允许我们确定是否应该发出短分支或长分支
/// </summary>
internal class BranchManager
{
private readonly IList<BranchInfo> MyBranchInfos;
@@ -143,7 +145,9 @@ namespace Flee.InternalTypes
}
}
[Obsolete("Represents a location in an IL stream")]
/// <summary>
/// 表示IL流中的位置
/// </summary>
internal class ILLocation : IEquatable<ILLocation>, IComparable<ILLocation>
{
private int _myPosition;
@@ -214,7 +218,9 @@ namespace Flee.InternalTypes
}
}
[Obsolete("Represents a branch from a start location to an end location")]
/// <summary>
/// 表示从起始位置到结束位置的分支
/// </summary>
internal class BranchInfo
{
private readonly ILLocation _myStart;