diff options
-rw-r--r-- | lib/Analysis/DeadStores.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DeadStores.cpp b/lib/Analysis/DeadStores.cpp index 0f869dcf6b..62a4e3e71e 100644 --- a/lib/Analysis/DeadStores.cpp +++ b/lib/Analysis/DeadStores.cpp @@ -65,7 +65,7 @@ public: if (V->hasLocalStorage()) if (Expr* E = V->getInit()) { - if (!Live(DS->getDecl(),AD)) { + if (!Live(V, AD)) { // Special case: check for initializations with constants. // // e.g. : int x = 0; |