[llvm-commits] [gcc-plugin] r75342 - /gcc-plugin/trunk/llvm-convert.cpp

Duncan Sands baldrick at free.fr
Fri Jul 10 20:57:02 PDT 2009


Author: baldrick
Date: Fri Jul 10 22:57:01 2009
New Revision: 75342

URL: http://llvm.org/viewvc/llvm-project?rev=75342&view=rev
Log:
The unexpanded_var_list was removed in 2008, but
it is not clear if something else of this kind
needs to be done or not.

Modified:
    gcc-plugin/trunk/llvm-convert.cpp

Modified: gcc-plugin/trunk/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-convert.cpp?rev=75342&r1=75341&r2=75342&view=diff

==============================================================================
--- gcc-plugin/trunk/llvm-convert.cpp (original)
+++ gcc-plugin/trunk/llvm-convert.cpp Fri Jul 10 22:57:01 2009
@@ -620,12 +620,12 @@
     // Not supported yet.
   }
   
-  // As it turns out, not all temporaries are associated with blocks.  For those
-  // that aren't, emit them now.
-  for (tree t = cfun->unexpanded_var_list; t; t = TREE_CHAIN(t)) {
-    if (!DECL_LLVM_SET_P(TREE_VALUE(t)))
-      EmitAutomaticVariableDecl(TREE_VALUE(t));
-  }
+//TODO  // As it turns out, not all temporaries are associated with blocks.  For those
+//TODO  // that aren't, emit them now.
+//TODO  for (tree t = cfun->unexpanded_var_list; t; t = TREE_CHAIN(t)) {
+//TODO    if (!DECL_LLVM_SET_P(TREE_VALUE(t)))
+//TODO      EmitAutomaticVariableDecl(TREE_VALUE(t));
+//TODO  }
   
   // Create a new block for the return node, but don't insert it yet.
   ReturnBB = BasicBlock::Create("return");





More information about the llvm-commits mailing list