Removed a redundant dyn_cast.  Thanks to Felipe
Cabecinhas.

llvm-svn: 135429
diff --git a/lldb/source/Expression/ASTResultSynthesizer.cpp b/lldb/source/Expression/ASTResultSynthesizer.cpp
index 0286f7a..e4c1aa6 100644
--- a/lldb/source/Expression/ASTResultSynthesizer.cpp
+++ b/lldb/source/Expression/ASTResultSynthesizer.cpp
@@ -219,21 +219,19 @@
     lldb::LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS));
     
     ASTContext &Ctx(*m_ast_context);
-    
-    CompoundStmt *compound_stmt = dyn_cast<CompoundStmt>(Body);
-    
-    if (!compound_stmt)
+        
+    if (!Body)
         return false;
     
-    if (compound_stmt->body_empty())
+    if (Body->body_empty())
         return false;
     
-    Stmt **last_stmt_ptr = compound_stmt->body_end() - 1;
+    Stmt **last_stmt_ptr = Body->body_end() - 1;
     Stmt *last_stmt = *last_stmt_ptr;
     
     while (dyn_cast<NullStmt>(last_stmt))
     {
-        if (last_stmt_ptr != compound_stmt->body_begin())
+        if (last_stmt_ptr != Body->body_begin())
         {
             last_stmt_ptr--;
             last_stmt = *last_stmt_ptr;