From 7e8196b87686bc7710b06e6d162fe547064e01ac Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Wed, 26 Aug 2015 09:52:10 +0000 Subject: fix amd64 code for curried applications with 3 arguments of functions with arity 1 --- aap.asm | 2 +- aap.s | 2 +- macho64/aap.s | 2 +- thread/aap.asm | 2 +- thread_macho64/aap.s | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/aap.asm b/aap.asm index f7a85b8..dbd9e5d 100644 --- a/aap.asm +++ b/aap.asm @@ -1016,7 +1016,7 @@ no_fast_ap3: mov d1,2*8 cmp word ptr [a3],d1w - je fast_ap_2 + je fast_ap_2_2 mov a2l,dword ptr 2[a3] no_fast_ap2: diff --git a/aap.s b/aap.s index 85aa3da..78798af 100644 --- a/aap.s +++ b/aap.s @@ -1505,7 +1505,7 @@ no_fast_ap3: mov rbx,2*8 .endif cmp word ptr [r9],bx - je fast_ap_2 + je fast_ap_2_2 .ifdef PIC mov r8,qword ptr 6[r9] diff --git a/macho64/aap.s b/macho64/aap.s index b3d2e4c..80183aa 100644 --- a/macho64/aap.s +++ b/macho64/aap.s @@ -1008,7 +1008,7 @@ no_fast_ap3: mov rbx,2*16 cmp word ptr [r9],bx - att_je fast_ap_2 + att_je fast_ap_2_2 mov r8,qword ptr 6[r9] no_fast_ap2: diff --git a/thread/aap.asm b/thread/aap.asm index 347cd32..47c08c6 100644 --- a/thread/aap.asm +++ b/thread/aap.asm @@ -1000,7 +1000,7 @@ no_fast_ap3: mov rbx,2*8 cmp word ptr [rbp],bx - je fast_ap_2 + je fast_ap_2_2 mov r8d,dword ptr 2[rbp] no_fast_ap2: diff --git a/thread_macho64/aap.s b/thread_macho64/aap.s index ef003ba..c1fb231 100644 --- a/thread_macho64/aap.s +++ b/thread_macho64/aap.s @@ -1008,7 +1008,7 @@ no_fast_ap3: mov rbx,2*16 cmp word ptr [rbp],bx - att_je fast_ap_2 + att_je fast_ap_2_2 mov r8,qword ptr 6[rbp] no_fast_ap2: -- cgit v1.2.3