scaling-error? ( object -- ? ) (original) (raw)

scaling-error? ( object -- ? )

Vocabulary
cpu.arm.64.assembler

Inputs and outputs

object an object
? a boolean

Word description
Tests if the object is an instance of the scaling-error class.

Definition

USING: classes.tuple.private kernel slots.private ;

IN: cpu.arm.64.assembler

: scaling-error? ( object -- ? )
dup tuple?
[ layout-of 7 slot \ scaling-error eq? ] [ drop f ] if ;