diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-11 16:08:41 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-11 16:08:41 +0000 |
commit | 60cae1ba49a4074ec130448a08f55b7078b64ef9 (patch) | |
tree | 0db11341f59d1a156fb63cec8df3ac50aa2b15ca /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | |
parent | 1b13dab60860e50dec840a66c67f47a35363a491 (diff) | |
download | bcm5719-llvm-60cae1ba49a4074ec130448a08f55b7078b64ef9.tar.gz bcm5719-llvm-60cae1ba49a4074ec130448a08f55b7078b64ef9.zip |
DwarfUnit: Pick a winner between isTypeSigned and isUnsignedDIType.
And the winner by a nose is isUnsignedDIType, for no particular reason.
These two functions were just complements of each other and used in very
related code, so refactor callers to just use one of them.
llvm-svn: 208500
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index 8be601bf8cf..e44f256c3a3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -351,7 +351,7 @@ public: void addConstantValue(DIE &Die, const ConstantInt *CI, DIType Ty); void addConstantValue(DIE &Die, const APInt &Val, DIType Ty); void addConstantValue(DIE &Die, const APInt &Val, bool Unsigned); - void addConstantValue(DIE &Die, bool Signed, uint64_t Val); + void addConstantValue(DIE &Die, bool Unsigned, uint64_t Val); /// addConstantFPValue - Add constant value entry in variable DIE. void addConstantFPValue(DIE &Die, const MachineOperand &MO); |