Fieldload

scala.scalanative.nir.Op.Fieldload
final case class Fieldload(ty: Type, obj: Val, name: Global) extends Op

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Op
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

final def isCommutative: Boolean

Attributes

Inherited from:
Op
final def isIdempotent: Boolean

Op is idempotent if re-evaluation of the operation with the same arguments is going to produce the same results, without any extra side effects as long as previous evaluation did not throw.

Op is idempotent if re-evaluation of the operation with the same arguments is going to produce the same results, without any extra side effects as long as previous evaluation did not throw.

Attributes

Inherited from:
Op
final def isPure: Boolean

Op is pure if it doesn't have any side-effects, including:

Op is pure if it doesn't have any side-effects, including:

  • doesn't throw exceptions * doesn't perform any unsafe reads or writes from the memory * doesn't call foreign code

Recomputing pure op will always yield to the same result.

Attributes

Inherited from:
Op

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def resty: Type

Attributes

Inherited from:
Op
final def show: String

Attributes

Inherited from:
Op

Inherited fields

lazy override val hashCode: Int

Calculates a hash code value for the object.

Calculates a hash code value for the object.

The default hashing algorithm is platform dependent.

Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

Attributes

Returns

the hash code value for this object.

Inherited from:
Op