Class TrivialInstructionExceptionSpecs
An instruction exception specification mapping that trivially copies prototype exception specifications.
Inherited Members
Namespace: Flame.Compiler.Analysis
Assembly: Flame.Compiler.dll
Syntax
public sealed class TrivialInstructionExceptionSpecs : InstructionExceptionSpecs
Constructors
| Edit this page View SourceTrivialInstructionExceptionSpecs(PrototypeExceptionSpecs)
Creates instruction exception specification rules that simply copy instruction prototype exception specifications.
Declaration
public TrivialInstructionExceptionSpecs(PrototypeExceptionSpecs exceptionSpecs)
Parameters
| Type | Name | Description |
|---|---|---|
| PrototypeExceptionSpecs | exceptionSpecs | Prototype exception specification rules. |
Properties
| Edit this page View SourceExceptionSpecs
Exception specification rules for instruction prototypes.
Declaration
public PrototypeExceptionSpecs ExceptionSpecs { get; }
Property Value
| Type | Description |
|---|---|
| PrototypeExceptionSpecs | Exception specification rules. |
Methods
| Edit this page 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 |