diff gen/statements.cpp @ 233:76ee1bbe487e trunk

[svn r249] Changed inline asm clobbers to a set instead of a list so we don't get duplicate clobbers.
author lindquist
date Sun, 08 Jun 2008 06:45:54 +0200
parents 092468448d25
children 9760f54af0b7
line wrap: on
line diff
--- a/gen/statements.cpp	Sun Jun 08 06:15:51 2008 +0200
+++ b/gen/statements.cpp	Sun Jun 08 06:45:54 2008 +0200
@@ -993,13 +993,13 @@
     LOG_SCOPE;
 
     // if it's an inline asm label, we don't create a basicblock, just emit it in the asm
-    if (p->inASM)
+    if (p->asmBlock)
     {
         IRAsmStmt* a = new IRAsmStmt;
         a->code = ".LDASM";
         a->code += ident->toChars();
         a->code += ":";
-        p->ASMs.push_back(a);
+        p->asmBlock->s.push_back(a);
         return;
     }