Class ExplicitInstructionExceptionSpecs
An explicit mapping of instructions to their exception specifications.
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 sealed class ExplicitInstructionExceptionSpecs : InstructionExceptionSpecs
Constructors
| Improve this Doc View SourceExplicitInstructionExceptionSpecs(IReadOnlyDictionary<Instruction, ExceptionSpecification>)
Creates instruction exception specifications.
Declaration
public ExplicitInstructionExceptionSpecs(IReadOnlyDictionary<Instruction, ExceptionSpecification> specifications)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IReadOnlyDictionary<Instruction, ExceptionSpecification> | specifications | A mapping of instructions to their exception specifications. |
Properties
| Improve this Doc View SourceSpecifications
Gets a mapping of instructions in a graph to their exception specifications.
Declaration
public IReadOnlyDictionary<Instruction, ExceptionSpecification> Specifications { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyDictionary<Instruction, ExceptionSpecification> | A mapping of instructions to their exception specifications. |
Methods
| Improve this Doc View SourceGetExceptionSpecification(Instruction)
Gets the exception specification for a particular instruction.
Declaration
public override ExceptionSpecification GetExceptionSpecification(Instruction instruction)
Parameters
Type | Name | Description |
---|---|---|
Instruction | instruction | The instruction to examine. |
Returns
Type | Description |
---|---|
ExceptionSpecification | An exception specification for |