summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/Writer.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-11 18:21:29 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-11 18:21:29 +0000
commit542964f55b2dce5703c9dd88496fde4f7ebf89b6 (patch)
tree07d5e88789ee8f5f61159e1ec2def506545fe52a /llvm/lib/Bytecode/Writer/Writer.cpp
parentbd23db9968ac7583431836ffcf9957f8e38c1aea (diff)
downloadbcm5719-llvm-542964f55b2dce5703c9dd88496fde4f7ebf89b6.tar.gz
bcm5719-llvm-542964f55b2dce5703c9dd88496fde4f7ebf89b6.zip
Rename BoolTy as Int1Ty. Patch by Sheng Zhou.
llvm-svn: 33076
Diffstat (limited to 'llvm/lib/Bytecode/Writer/Writer.cpp')
-rw-r--r--llvm/lib/Bytecode/Writer/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp
index 88745ea4b2f..7acd2094c5d 100644
--- a/llvm/lib/Bytecode/Writer/Writer.cpp
+++ b/llvm/lib/Bytecode/Writer/Writer.cpp
@@ -321,7 +321,7 @@ void BytecodeWriter::outputConstant(const Constant *CPV) {
}
switch (CPV->getType()->getTypeID()) {
- case Type::BoolTyID: // Boolean Types
+ case Type::Int1TyID: // Boolean Types
if (cast<ConstantInt>(CPV)->getBoolValue())
output_vbr(1U);
else
OpenPOWER on IntegriCloud