diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-11-03 00:14:01 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-11-03 00:14:01 +0000 |
commit | cde546497067bf2ed40b9473582212df4ccd8141 (patch) | |
tree | 1ce96fd53827c292f44b4c23a21f93b5beb69170 /tools/llvm-bcanalyzer | |
parent | a1e78888d95375194e7513bef3e18d9f1b7d45bf (diff) | |
download | llvm-cde546497067bf2ed40b9473582212df4ccd8141.tar.gz llvm-cde546497067bf2ed40b9473582212df4ccd8141.tar.bz2 llvm-cde546497067bf2ed40b9473582212df4ccd8141.tar.xz |
Remove some cruft from the BitcodeWriter, while still maintaining backward
compatibility in the BitcodeReader.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143598 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-bcanalyzer')
-rw-r--r-- | tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp b/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp index 4ada64a528..f0bbc9f955 100644 --- a/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp +++ b/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp @@ -175,7 +175,7 @@ static const char *GetCodeName(unsigned CodeID, unsigned BlockID, case bitc::TYPE_CODE_OPAQUE: return "OPAQUE"; case bitc::TYPE_CODE_INTEGER: return "INTEGER"; case bitc::TYPE_CODE_POINTER: return "POINTER"; - case bitc::TYPE_CODE_FUNCTION: return "FUNCTION"; + case bitc::TYPE_CODE_FUNCTION_OLD: return "FUNCTION_OLD"; case bitc::TYPE_CODE_STRUCT_OLD: return "STRUCT_OLD"; case bitc::TYPE_CODE_ARRAY: return "ARRAY"; case bitc::TYPE_CODE_VECTOR: return "VECTOR"; @@ -186,6 +186,7 @@ static const char *GetCodeName(unsigned CodeID, unsigned BlockID, case bitc::TYPE_CODE_STRUCT_ANON: return "STRUCT_ANON"; case bitc::TYPE_CODE_STRUCT_NAME: return "STRUCT_NAME"; case bitc::TYPE_CODE_STRUCT_NAMED: return "STRUCT_NAMED"; + case bitc::TYPE_CODE_FUNCTION: return "FUNCTION"; } case bitc::CONSTANTS_BLOCK_ID: |