projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52cf47e
)
Fix compilation.
author
Duncan Sands
<baldrick@free.fr>
Tue, 11 Dec 2007 12:20:47 +0000
(12:20 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Tue, 11 Dec 2007 12:20:47 +0000
(12:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44864
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bitcode/Writer/BitcodeWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/Bitcode/Writer/BitcodeWriter.cpp
b/lib/Bitcode/Writer/BitcodeWriter.cpp
index c58d23ada21cb6debcd0dcc2833cf8d954313204..3abac0646835f6cfcd2b62382323671f02356b17 100644
(file)
--- a/
lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/
lib/Bitcode/Writer/BitcodeWriter.cpp
@@
-196,7
+196,7
@@
static void WriteTypeTable(const ValueEnumerator &VE, BitstreamWriter &Stream) {
Code = bitc::TYPE_CODE_INTEGER;
TypeVals.push_back(cast<IntegerType>(T)->getBitWidth());
break;
- case Type::PointerTyID:
+ case Type::PointerTyID:
{
const PointerType *PTy = cast<PointerType>(T);
// POINTER: [pointee type] or [pointee type, address space]
Code = bitc::TYPE_CODE_POINTER;
@@
-206,6
+206,7
@@
static void WriteTypeTable(const ValueEnumerator &VE, BitstreamWriter &Stream) {
else
AbbrevToUse = PtrAbbrev;
break;
+ }
case Type::FunctionTyID: {
const FunctionType *FT = cast<FunctionType>(T);