From aece370989a5729582d3edfc61a0646fa321b5e4 Mon Sep 17 00:00:00 2001 From: theraven Date: Fri, 18 Nov 2011 19:57:00 +0000 Subject: [PATCH] Fix objc_msgSend_stret() when the receiver is a small object. --- objc_msgSend.x86-64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objc_msgSend.x86-64.S b/objc_msgSend.x86-64.S index 5e66449..8ce012b 100644 --- a/objc_msgSend.x86-64.S +++ b/objc_msgSend.x86-64.S @@ -123,7 +123,7 @@ pop %rax jmp *%r10 6: # smallObject: - and %rdi, %r10 # Find the small int type + and \receiver, %r10 # Find the small int type shll $3, %r10d lea SmallObjectClasses(%rip), %r11 add %r11, %r10