commit | 3e15bf33e024b9df9e89351a165acfdb1dde51ed | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Wed May 02 21:39:20 2007 +0000 |
committer | Devang Patel <dpatel@apple.com> | Wed May 02 21:39:20 2007 +0000 |
tree | 2a1b470e139345efc714c51846d285e5a52a9f12 | |
parent | 749a89bd53422c2aba0d78dc6e72a6d498b453e1 [diff] |
Use 'static const char' instead of 'static const int'. Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36652 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index c83eb5b..3f6a10a 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -5012,4 +5012,4 @@ Ops.push_back(InOps.back()); } -const int SelectionDAGISel::ID = 0; +const char SelectionDAGISel::ID = 0;