diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-07-02 00:35:47 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-07-02 00:35:47 +0000 |
commit | 12432cfc59862e6a71b4f320677a41788cdd0860 (patch) | |
tree | fe31946699f829f62041d02a1c5728fa68530e23 /lib/CodeGen/MachineDebugInfoDesc.cpp | |
parent | 445723bfb0d3c4cb7ecebb60710c669cf3dd2c8d (diff) |
Sorry. I couldn't sleep at night knowing I put these ugly casts into the source tree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineDebugInfoDesc.cpp')
-rw-r--r-- | lib/CodeGen/MachineDebugInfoDesc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/MachineDebugInfoDesc.cpp b/lib/CodeGen/MachineDebugInfoDesc.cpp index 3477dd6a89..23853862c2 100644 --- a/lib/CodeGen/MachineDebugInfoDesc.cpp +++ b/lib/CodeGen/MachineDebugInfoDesc.cpp @@ -92,8 +92,8 @@ DebugInfoDesc *DebugInfoDesc::DescFactory(unsigned Tag) { } /// getLinkage - get linkage appropriate for this type of descriptor. -unsigned DebugInfoDesc::getLinkage() const { - return (unsigned)GlobalValue::InternalLinkage; +GlobalValue::LinkageTypes DebugInfoDesc::getLinkage() const { + return GlobalValue::InternalLinkage; } /// ApplyToFields - Target the vistor to the fields of the descriptor. @@ -115,8 +115,8 @@ bool AnchorDesc::classof(const DebugInfoDesc *D) { } /// getLinkage - get linkage appropriate for this type of descriptor. -unsigned AnchorDesc::getLinkage() const { - return (unsigned)GlobalValue::LinkOnceLinkage; +GlobalValue::LinkageTypes AnchorDesc::getLinkage() const { + return GlobalValue::LinkOnceLinkage; } /// ApplyToFields - Target the visitor to the fields of the TransUnitDesc. |