Class PrivateBrandCheckNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class PrivateBrandCheckNode extends JSTargetableNode
Performs a private brand check. If the brand check succeeds, returns the target object, otherwise returns undefined.
  • instance private methods: the object needs to contain the brand key of the class.
  • static private methods: the object needs to be == the constructor.