 locals.backend math math.private memory namespaces sequences
 slots.private strings.private vocabs ;
 IN: bootstrap.x86
+
+: temp0/32 ( -- reg )
+    temp0 32-bit-version-of ;
+: temp1/32 ( -- reg )
+    temp1 32-bit-version-of ;
 
 big-endian off
 

        ! load from stack
        temp0 ds-reg [] MOV
        ! compute tag
        temp0 tag-mask get AND
        ! tag the tag
        temp0 tag-bits get SHL
        ! push to stack
        ds-reg [] temp0 MOV
    ] }

[
    ! class = ...
    temp0 temp1 MOV
    temp1/32 tag-mask get AND
    temp1/32 tag-bits get SHL
    temp1/32 tuple type-number tag-fixnum CMP
    [ JNE ]
    [ temp1 temp0 tuple-class-offset [+] MOV ]
    jit-conditional
