[llvm-branch-commits] [llvm-branch] r133583 - in /llvm/branches/type-system-rewrite/tools: llvm-bcanalyzer/llvm-bcanalyzer.cpp llvm-extract/llvm-extract.cpp

Chris Lattner sabre at nondot.org
Tue Jun 21 16:54:00 PDT 2011


Author: lattner
Date: Tue Jun 21 18:54:00 2011
New Revision: 133583

URL: http://llvm.org/viewvc/llvm-project?rev=133583&view=rev
Log:
Fix bitcode name for llvm-extract, remove reference to DTE pass.

Modified:
    llvm/branches/type-system-rewrite/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
    llvm/branches/type-system-rewrite/tools/llvm-extract/llvm-extract.cpp

Modified: llvm/branches/type-system-rewrite/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp?rev=133583&r1=133582&r2=133583&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp (original)
+++ llvm/branches/type-system-rewrite/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp Tue Jun 21 18:54:00 2011
@@ -172,7 +172,7 @@
     case bitc::TYPE_CODE_FLOAT:        return "FLOAT";
     case bitc::TYPE_CODE_DOUBLE:       return "DOUBLE";
     case bitc::TYPE_CODE_LABEL:        return "LABEL";
-    case bitc::TYPE_CODE_OPAQUE:       return "OPAQUE";
+    case bitc::TYPE_CODE_OPAQUE_OLD:   return "OPAQUE_OLD";
     case bitc::TYPE_CODE_INTEGER:      return "INTEGER";
     case bitc::TYPE_CODE_POINTER:      return "POINTER";
     case bitc::TYPE_CODE_FUNCTION:     return "FUNCTION";

Modified: llvm/branches/type-system-rewrite/tools/llvm-extract/llvm-extract.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/tools/llvm-extract/llvm-extract.cpp?rev=133583&r1=133582&r2=133583&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/tools/llvm-extract/llvm-extract.cpp (original)
+++ llvm/branches/type-system-rewrite/tools/llvm-extract/llvm-extract.cpp Tue Jun 21 18:54:00 2011
@@ -149,7 +149,6 @@
   if (!DeleteFn)
     Passes.add(createGlobalDCEPass());           // Delete unreachable globals
   Passes.add(createStripDeadDebugInfoPass());    // Remove dead debug info
-  Passes.add(createDeadTypeEliminationPass());   // Remove dead types...
   Passes.add(createStripDeadPrototypesPass());   // Remove dead func decls
 
   std::string ErrorInfo;





More information about the llvm-branch-commits mailing list