mirror of
https://github.com/Wack0/IFPSTools.NET.git
synced 2025-06-18 10:45:36 -04:00
34 lines
800 B
C#
34 lines
800 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace IFPSLib.Emit
|
|
{
|
|
/// <summary>
|
|
/// Describes how an instruction alters control flow.
|
|
/// </summary>
|
|
public enum FlowControl
|
|
{
|
|
/// <summary>
|
|
/// Instruction branches to another block.
|
|
/// </summary>
|
|
Branch,
|
|
/// <summary>
|
|
/// Instruction calls a function.
|
|
/// </summary>
|
|
Call,
|
|
/// <summary>
|
|
/// Instruction branches to another block if a condition passes.
|
|
/// </summary>
|
|
Cond_Branch,
|
|
/// <summary>
|
|
/// Normal flow of control; to the next instruction.
|
|
/// </summary>
|
|
Next,
|
|
/// <summary>
|
|
/// Returns to the caller.
|
|
/// </summary>
|
|
Return
|
|
}
|
|
}
|