ObjFW  Check-in [ed75c0b477]

Overview
Comment:Fix super lookup of missing methods on ARM64
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ed75c0b4774db204e5a76d09b82daeb481d07e474799be037c48bc088c9a1b5f
User & Date: js on 2016-05-07 20:53:32
Other Links: manifest | tags
Context
2016-05-07
21:52
Fix a warning with Apple GCC 4.0 check-in: ea000d07a9 user: js tags: trunk
20:53
Fix super lookup of missing methods on ARM64 check-in: ed75c0b477 user: js tags: trunk
20:00
Fix super lookup of missing methods on ARM check-in: bdc99715bb user: js tags: trunk
Changes

Modified src/runtime/lookup-asm/lookup-asm-arm64-elf.S from [33b4da82fe] to [9c116f5fb2].

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