aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-02 00:10:16 +0000
committerDan Gohman <gohman@apple.com>2010-07-02 00:10:16 +0000
commit89496d0eb73ab8771b27b3d9c1db6492d8eefc3a (patch)
tree6a793eda3720fd43af1f9a5515e0271abd5090c9 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parentf12ad66741afc9bfc313f20cf34edef8e4133c18 (diff)
downloadexternal_llvm-89496d0eb73ab8771b27b3d9c1db6492d8eefc3a.zip
external_llvm-89496d0eb73ab8771b27b3d9c1db6492d8eefc3a.tar.gz
external_llvm-89496d0eb73ab8771b27b3d9c1db6492d8eefc3a.tar.bz2
Rename CreateReg to CreateRegs, and MakeReg to CreateReg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 94f0efc..00e1f4f 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -732,7 +732,7 @@ void SelectionDAGISel::SelectAllBasicBlocks(const Function &Fn) {
if (!BI->getType()->isVoidTy() && !BI->use_empty()) {
unsigned &R = FuncInfo->ValueMap[BI];
if (!R)
- R = FuncInfo->CreateReg(BI->getType());
+ R = FuncInfo->CreateRegs(BI->getType());
}
bool HadTailCall = false;