[cfe-commits] r48468 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp

Ted Kremenek kremenek at apple.com
Mon Mar 17 14:31:48 PDT 2008


Author: kremenek
Date: Mon Mar 17 16:31:48 2008
New Revision: 48468

URL: http://llvm.org/viewvc/llvm-project?rev=48468&view=rev
Log:
Properly hook up inline asm transfer function logic to the main GRExprEngine logic.

Modified:
    cfe/trunk/lib/Analysis/GRExprEngine.cpp

Modified: cfe/trunk/lib/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngine.cpp?rev=48468&r1=48467&r2=48468&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Mon Mar 17 16:31:48 2008
@@ -1408,6 +1408,10 @@
       
       Dst.Add(Pred); // No-op. Simply propagate the current state unchanged.
       break;
+      
+    case Stmt::AsmStmtClass:
+      VisitAsmStmt(cast<AsmStmt>(S), Pred, Dst);
+      break;
                                                        
     case Stmt::BinaryOperatorClass: {
       BinaryOperator* B = cast<BinaryOperator>(S);





More information about the cfe-commits mailing list