Mercurial > projects > ldc
comparison runtime/llvmdc.diff @ 539:795e972e17ce
Made a small mistake in the Tango patch
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 24 Aug 2008 17:11:02 +0200 |
parents | 2fe2d4518618 |
children | 9312024a7053 |
comparison
equal
deleted
inserted
replaced
538:8a73062f934e | 539:795e972e17ce |
---|---|
118 + else version( D_InlineAsm_X86 ) | 118 + else version( D_InlineAsm_X86 ) |
119 + { | 119 + { |
120 asm | 120 asm |
121 { | 121 { |
122 pushad; | 122 pushad; |
123 @@ -297,6 +319,10 @@ | 123 @@ -297,8 +319,12 @@ |
124 } | 124 } |
125 } | 125 } |
126 | 126 |
127 - version( D_InlineAsm_X86 ) | |
127 + version( LLVMDC) | 128 + version( LLVMDC) |
128 + { | 129 { |
129 + // nothing to pop | 130 + // nothing to pop |
130 + } | 131 + } |
131 version( D_InlineAsm_X86 ) | 132 + else version( D_InlineAsm_X86 ) |
132 { | 133 + { |
133 asm | 134 asm |
135 { | |
136 popad; | |
134 Index: lib/gc/basic/gcx.d | 137 Index: lib/gc/basic/gcx.d |
135 =================================================================== | 138 =================================================================== |
136 --- lib/gc/basic/gcx.d (revision 3899) | 139 --- lib/gc/basic/gcx.d (revision 3899) |
137 +++ lib/gc/basic/gcx.d (working copy) | 140 +++ lib/gc/basic/gcx.d (working copy) |
138 @@ -2178,6 +2178,29 @@ | 141 @@ -2178,6 +2178,29 @@ |