summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn van Groningen2015-08-26 09:52:10 +0000
committerJohn van Groningen2015-08-26 09:52:10 +0000
commit7e8196b87686bc7710b06e6d162fe547064e01ac (patch)
tree611a0db5bb0ddad5ff3e057c73c4dee4261fa555
parentAdd time profiling on Mac OS X (diff)
fix amd64 code for curried applications with 3 arguments of functions with arity 1
-rw-r--r--aap.asm2
-rw-r--r--aap.s2
-rw-r--r--macho64/aap.s2
-rw-r--r--thread/aap.asm2
-rw-r--r--thread_macho64/aap.s2
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: