diff options
author | Devang Patel <dpatel@apple.com> | 2009-09-28 21:14:55 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-09-28 21:14:55 +0000 |
commit | a2148402ce39fb3aad09e98a32078d3853a01ae9 (patch) | |
tree | 1c281d051ac85c8b27367dd80c08acd0d250f404 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | da591e7fbee91f8750ff777c2d63ae3fdf328a88 (diff) |
Do not use global typedef for MDKindID.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 197b3b6b7c..53a2e6427d 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -373,7 +373,7 @@ void SelectionDAGISel::SelectBasicBlock(BasicBlock *LLVMBB, BasicBlock::iterator End) { SDL->setCurrentBasicBlock(BB); Metadata &TheMetadata = LLVMBB->getParent()->getContext().getMetadata(); - MDKindID MDDbgKind = TheMetadata.getMDKind("dbg"); + unsigned MDDbgKind = TheMetadata.getMDKind("dbg"); // Lower all of the non-terminator instructions. If a call is emitted // as a tail call, cease emitting nodes for this block. @@ -656,7 +656,7 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn, ); Metadata &TheMetadata = Fn.getContext().getMetadata(); - MDKindID MDDbgKind = TheMetadata.getMDKind("dbg"); + unsigned MDDbgKind = TheMetadata.getMDKind("dbg"); // Iterate over all basic blocks in the function. for (Function::iterator I = Fn.begin(), E = Fn.end(); I != E; ++I) { |