Show / Hide Table of Contents

    Class ExceptionDelayability

    A base class for rules about whether or not exceptions thrown by particular types of instructions may be delayed until the value they produce is used by an effectful instruction.

    Inheritance
    System.Object
    ExceptionDelayability
    PermissiveExceptionDelayability
    StrictExceptionDelayability
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Flame.Compiler.Analysis
    Assembly: Flame.Compiler.dll
    Syntax
    public abstract class ExceptionDelayability

    Methods

    | Improve this Doc View Source

    CanDelayExceptions(InstructionPrototype)

    Tells if it is permissible to delay exceptions thrown by a particular instruction until the instruction's result is used by an effectful instruction. If the instruction's result is never used that way, the exception may even be deleted altogether.

    Declaration
    public abstract bool CanDelayExceptions(InstructionPrototype prototype)
    Parameters
    Type Name Description
    InstructionPrototype prototype

    An instruction prototype to examine.

    Returns
    Type Description
    System.Boolean

    true if exceptions thrown by instances of prototype may be delayed until the instances' values are used by effectful instructions; otherwise, false.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX