add alias support to bitcode
authorChris Lattner <sabre@nondot.org>
Thu, 26 Apr 2007 02:46:23 +0000 (02:46 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 26 Apr 2007 02:46:23 +0000 (02:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36460 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Bitcode/LLVMBitCodes.h

index e8b2d7c22d8895d59292df97e71f43fe6926b174..922fbaf2a9767cc0218c4e006d8f99e8083eac0a 100644 (file)
@@ -52,7 +52,10 @@ namespace bitc {
 
     // FUNCTION:  [type, callingconv, isproto, linkage, alignment, section,
     //             visibility]
-    MODULE_CODE_FUNCTION    = 8
+    MODULE_CODE_FUNCTION    = 8,
+    
+    // ALIAS: [alias type, aliasee val#, linkage]
+    MODULE_CODE_ALIAS       = 9
   };
   
   /// TYPE blocks have codes for each type primitive they use.