49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
ret
.type \name, %function
.size \name, .-\name
.endm
.macro generate_lookup_super name lookup
\name:
ldr x2, [x0, #0]
cmp x0, #0
beq ret_nil
ldr x2, [x0, #8]
ldr x2, [x2, #64]
b .Lmain_\lookup
.type \name, %function
.size \name, .-\name
.endm
|
>
|
|
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
ret
.type \name, %function
.size \name, .-\name
.endm
.macro generate_lookup_super name lookup
\name:
mov x2, x0
ldr x0, [x0, #0]
cmp x0, #0
beq ret_nil
ldr x2, [x2, #8]
ldr x2, [x2, #64]
b .Lmain_\lookup
.type \name, %function
.size \name, .-\name
.endm
|