From 8b9cdc13ba60e376e8ea722794804953ffa82d3d Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 22 Feb 2011 19:13:38 -0700 Subject: [PATCH] fix return of double values from Java to native code on x86_32 --- src/compile-x86.S | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/compile-x86.S b/src/compile-x86.S index 3f839ce3c5..77d681298d 100644 --- a/src/compile-x86.S +++ b/src/compile-x86.S @@ -385,21 +385,7 @@ GLOBAL(vmInvoke_safeStack): // handle return value based on expected type movl 28(%esp),%ecx - -LOCAL(vmInvoke_void): - cmpl $VOID_TYPE,%ecx - jne LOCAL(vmInvoke_int64) - jmp LOCAL(vmInvoke_return) -LOCAL(vmInvoke_int64): - cmpl $INT64_TYPE,%ecx - jne LOCAL(vmInvoke_int32) - jmp LOCAL(vmInvoke_return) - -LOCAL(vmInvoke_int32): - movl $0,%edx - -LOCAL(vmInvoke_return): popl %ebp ret