summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineDebugInfo.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/CodeGen/MachineDebugInfo.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/CodeGen/MachineDebugInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineDebugInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineDebugInfo.cpp b/llvm/lib/CodeGen/MachineDebugInfo.cpp
index 5d9de9ff347..2ebd64bf350 100644
--- a/llvm/lib/CodeGen/MachineDebugInfo.cpp
+++ b/llvm/lib/CodeGen/MachineDebugInfo.cpp
@@ -363,7 +363,7 @@ public:
Fields.push_back(Type::Int64Ty);
}
virtual void Apply(bool &Field) {
- Fields.push_back(Type::BoolTy);
+ Fields.push_back(Type::Int1Ty);
}
virtual void Apply(std::string &Field) {
Fields.push_back(SR.getStrPtrType());
@@ -426,7 +426,7 @@ public:
}
virtual void Apply(bool &Field) {
Constant *C = CI->getOperand(I++);
- IsValid = IsValid && isa<ConstantInt>(C) && C->getType() == Type::BoolTy;
+ IsValid = IsValid && isa<ConstantInt>(C) && C->getType() == Type::Int1Ty;
}
virtual void Apply(std::string &Field) {
Constant *C = CI->getOperand(I++);
OpenPOWER on IntegriCloud