[llvm-commits] [llvm-gcc-4.2] r78839 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386.c

Dale Johannesen dalej at apple.com
Wed Aug 12 14:02:43 PDT 2009


Author: johannes
Date: Wed Aug 12 16:02:43 2009
New Revision: 78839

URL: http://llvm.org/viewvc/llvm-project?rev=78839&view=rev
Log:
Modify previous patch per feedback from asm-blocks guru.


Modified:
    llvm-gcc-4.2/trunk/gcc/config/i386/i386.c

Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/i386.c?rev=78839&r1=78838&r2=78839&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/i386.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/i386.c Wed Aug 12 16:02:43 2009
@@ -22968,7 +22968,10 @@
 /* LLVM LOCAL begin */
         /* Complicated expression as JMP or CALL target. */
         if (e->modifier && strcmp(e->modifier, "A") == 0)
-          strcat (buf, "*");
+          {
+            strcat (buf, "*");
+            e->modifier = 0;
+          }
 /* LLVM LOCAL end */
 	e->as_immediate = true;
 	iasm_print_operand (buf, op1, argnum, uses,





More information about the llvm-commits mailing list