Class TrivialInstructionExceptionSpecs
An instruction exception specification mapping that trivially copies prototype 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 TrivialInstructionExceptionSpecs : InstructionExceptionSpecs
Constructors
| Improve this Doc 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
| Improve this Doc View SourceExceptionSpecs
Exception specification rules for instruction prototypes.
Declaration
public PrototypeExceptionSpecs ExceptionSpecs { get; }
Property Value
Type | Description |
---|---|
PrototypeExceptionSpecs | Exception specification rules. |
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 |