ObjFW  Check-in [9e21852403]

Overview
Comment:Fix super lookup of missing methods on MIPS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9e218524034bc897b13204d8af76eca8a1acbcda94832230a1a238ac7468ba7a
User & Date: js on 2016-05-14 23:47:11
Other Links: manifest | tags
Context
2016-05-16
11:05
OFZIP: Use "overwrite" instead of "override" check-in: afecb5238c user: js tags: trunk
2016-05-14
23:47
Fix super lookup of missing methods on MIPS check-in: 9e21852403 user: js tags: trunk
2016-05-10
22:39
Fix super lookup of missing methods on SPARC check-in: f4277f8c60 user: js tags: trunk
Changes

Modified src/runtime/lookup-asm/lookup-asm-mips-elf.S from [375ffd1359] to [4a810e0b17].

90
91
92
93
94
95
96

97
98
99
100
101
102

103
104
105
106
107
108
109
#endif
.type \name, %function
.size \name, .-\name
.endm

.macro generate_lookup_super name lookup
\name:

	lw	$t0, 0($a0)
	beqz	$t0, 0f

	lw	$t0, 4($a0)
	lw	$t0, 32($t0)


	b	.Lmain_\lookup

0:
#ifdef OF_PIC
	addiu	$v0, $t9, nil_method-\name
#else
	la	$v0, nil_method







>
|
|

|


>







90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#endif
.type \name, %function
.size \name, .-\name
.endm

.macro generate_lookup_super name lookup
\name:
	move	$t0, $a0
	lw	$a0, 0($a0)
	beqz	$a0, 0f

	lw	$t0, 4($t0)
	lw	$t0, 32($t0)

	addiu	$t9, $t9, \lookup-\name
	b	.Lmain_\lookup

0:
#ifdef OF_PIC
	addiu	$v0, $t9, nil_method-\name
#else
	la	$v0, nil_method