Class TypeNode.ObjectSlotTypeNode

    • Constructor Detail

      • ObjectSlotTypeNode

        protected ObjectSlotTypeNode​(com.oracle.truffle.api.source.SourceSection sourceSection)
    • Method Detail

      • getFrameSlotKind

        public final com.oracle.truffle.api.frame.FrameSlotKind getFrameSlotKind()
        Specified by:
        getFrameSlotKind in class TypeNode
      • executeAndSet

        public final void executeAndSet​(com.oracle.truffle.api.frame.VirtualFrame frame,
                                        java.lang.Object value)
        Description copied from class: TypeNode
        Checks if `value` conforms to this type. If so, sets `slot` to `value`. Otherwise, throws a `VmTypeMismatchException`.
        Specified by:
        executeAndSet in class TypeNode