[llvm-branch-commits] [llvm-branch] r133507 - /llvm/branches/type-system-rewrite/lib/Bitcode/Writer/BitcodeWriter.cpp

Chris Lattner sabre at nondot.org
Mon Jun 20 23:43:22 PDT 2011


Author: lattner
Date: Tue Jun 21 01:43:22 2011
New Revision: 133507

URL: http://llvm.org/viewvc/llvm-project?rev=133507&view=rev
Log:
fix bozo bug, llvm-as has basic functionality now.

Modified:
    llvm/branches/type-system-rewrite/lib/Bitcode/Writer/BitcodeWriter.cpp

Modified: llvm/branches/type-system-rewrite/lib/Bitcode/Writer/BitcodeWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/lib/Bitcode/Writer/BitcodeWriter.cpp?rev=133507&r1=133506&r2=133507&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/lib/Bitcode/Writer/BitcodeWriter.cpp (original)
+++ llvm/branches/type-system-rewrite/lib/Bitcode/Writer/BitcodeWriter.cpp Tue Jun 21 01:43:22 2011
@@ -271,7 +271,7 @@
         Code = bitc::TYPE_CODE_STRUCT_ANON;
         AbbrevToUse = StructAnonAbbrev;
       } else {
-        Code = bitc::TYPE_CODE_STRUCT_ANON;
+        Code = bitc::TYPE_CODE_STRUCT_NAMED;
         AbbrevToUse = StructNamedAbbrev;
 
         // Emit the name if it is present.





More information about the llvm-branch-commits mailing list