diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-11 18:21:29 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-11 18:21:29 +0000 |
commit | 542964f55b2dce5703c9dd88496fde4f7ebf89b6 (patch) | |
tree | 07d5e88789ee8f5f61159e1ec2def506545fe52a /llvm/lib/CodeGen/MachineDebugInfo.cpp | |
parent | bd23db9968ac7583431836ffcf9957f8e38c1aea (diff) | |
download | bcm5719-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.cpp | 4 |
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++); |