aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Bitcode/LLVMBitCodes.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-26 02:46:23 +0000
committerChris Lattner <sabre@nondot.org>2007-04-26 02:46:23 +0000
commitd743f0e8f2c1f878f578a928157dbe75d643b5bb (patch)
tree95169eda4c761d88ac70a4d52b0b78b09bd57461 /include/llvm/Bitcode/LLVMBitCodes.h
parent69dacfce54473414c1a863d19ab8f2785cd2a4f2 (diff)
downloadexternal_llvm-d743f0e8f2c1f878f578a928157dbe75d643b5bb.zip
external_llvm-d743f0e8f2c1f878f578a928157dbe75d643b5bb.tar.gz
external_llvm-d743f0e8f2c1f878f578a928157dbe75d643b5bb.tar.bz2
add alias support to bitcode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode/LLVMBitCodes.h')
-rw-r--r--include/llvm/Bitcode/LLVMBitCodes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Bitcode/LLVMBitCodes.h b/include/llvm/Bitcode/LLVMBitCodes.h
index e8b2d7c..922fbaf 100644
--- a/include/llvm/Bitcode/LLVMBitCodes.h
+++ b/include/llvm/Bitcode/LLVMBitCodes.h
@@ -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.