summaryrefslogtreecommitdiff
path: root/include/llvm/Bitcode
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-05-23 15:19:39 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-05-23 15:19:39 +0000
commitee8100d70a81c154487cb715925c1adf46f7653e (patch)
tree189f694f1c0c0da87e36d91dd219cfa452e825a0 /include/llvm/Bitcode
parentab767213fdfc219384e26b8073783cb883974dcd (diff)
downloadllvm-ee8100d70a81c154487cb715925c1adf46f7653e.tar.gz
llvm-ee8100d70a81c154487cb715925c1adf46f7653e.tar.bz2
llvm-ee8100d70a81c154487cb715925c1adf46f7653e.tar.xz
revert r156383: removal of TYPE_CODE_FUNCTION_OLD
Apparently LLVM only stopped emitting this after LLVM 3.0 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode')
-rw-r--r--include/llvm/Bitcode/LLVMBitCodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Bitcode/LLVMBitCodes.h b/include/llvm/Bitcode/LLVMBitCodes.h
index 56090ead8b..a8c34cb829 100644
--- a/include/llvm/Bitcode/LLVMBitCodes.h
+++ b/include/llvm/Bitcode/LLVMBitCodes.h
@@ -90,6 +90,9 @@ namespace bitc {
TYPE_CODE_OPAQUE = 6, // OPAQUE
TYPE_CODE_INTEGER = 7, // INTEGER: [width]
TYPE_CODE_POINTER = 8, // POINTER: [pointee type]
+
+ TYPE_CODE_FUNCTION_OLD = 9, // FUNCTION: [vararg, attrid, retty,
+ // paramty x N]
TYPE_CODE_HALF = 10, // HALF