Fix another test failure

Andrew Haley aph at redhat.com
Mon Oct 31 09:01:01 PDT 2011


Another obvious/trivial fix for jtreg tests on ARM.

Andrew.


2011-10-31  Andrew Haley  <aph at redhat.com>

	* arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (accessor_sh):
	Return 0, #deoptimized_frames.
	(accessor{_h,_sb,_dw}): Likewise.

diff -r 26bdb437215d -r 0d4f47d2edbf arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S
--- a/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S	Fri Oct 28 11:46:11 2011 -0400
+++ b/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S	Mon Oct 31 11:57:33 2011 -0400
@@ -1777,14 +1777,17 @@
 accessor_sh:
 	ldrsh	r0, [r3, r1]
 	str	r0, [ip, #0]
+	mov	r0, #0	@ deoptimized_frames = 0
 	bx	lr
 accessor_h:
 	ldrh	r0, [r3, r1]
 	str	r0, [ip, #0]
+	mov	r0, #0	@ deoptimized_frames = 0
 	bx	lr
 accessor_sb:
 	ldrsb	r0, [r3, r1]
 	str	r0, [ip, #0]
+	mov	r0, #0	@ deoptimized_frames = 0
 	bx	lr
 accessor_dw:
 	add	r0, r3, r1
@@ -1792,6 +1795,7 @@
 	sub	ip, ip, #4
 	str	ip, [r2, #THREAD_JAVA_SP]
 	stmia	ip, {r0, r1}
+	mov	r0, #0	@ deoptimized_frames = 0
 	bx	lr

 	Opcode	getfield





More information about the distro-pkg-dev mailing list