L2Synonym

An L2Synonym is a set of L2SemanticValues known to represent the same value in some L2ValueManifest. The manifest at each instruction includes a set of synonyms which partition the semantic values.

Author

Mark van Gulik

Todd L Smith

Parameters

semanticValues

The non-empty collection of L2SemanticValues bound to this synonym.

Constructors

Link copied to clipboard
constructor(semanticValues: Collection<L2SemanticValue>)

Create a synonym.

Functions

Link copied to clipboard
open operator override fun compareTo(other: L2Synonym): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Choose one of the L2SemanticValues from this L2Synonym.

Link copied to clipboard

Answer the immutable set of L2SemanticValues of this synonym.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun transform(semanticValueTransformer: (L2SemanticValue) -> L2SemanticValue): L2Synonym

Transform the Frames and L2SemanticValues within this synonym to produce a new synonym.