diff options
| author | Dan Gohman <gohman@apple.com> | 2010-07-02 00:10:16 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-07-02 00:10:16 +0000 |
| commit | 93f59209142897dbc36d83c6a64e822ebfa92aae (patch) | |
| tree | 8fc2b2ef23e7d32c98278fe2f8f8292b750c2759 /llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h | |
| parent | 19ebcd0f287edaee683b1b581ed5e13692616ba2 (diff) | |
| download | bcm5719-llvm-93f59209142897dbc36d83c6a64e822ebfa92aae.tar.gz bcm5719-llvm-93f59209142897dbc36d83c6a64e822ebfa92aae.zip | |
Rename CreateReg to CreateRegs, and MakeReg to CreateReg.
llvm-svn: 107451
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h index 35335c1d2a5..a3736310ed2 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h +++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h @@ -113,20 +113,20 @@ public: /// different function. void clear(); - unsigned MakeReg(EVT VT); - /// isExportedInst - Return true if the specified value is an instruction /// exported from its block. bool isExportedInst(const Value *V) { return ValueMap.count(V); } - unsigned CreateReg(const Type *Ty); + unsigned CreateReg(EVT VT); + + unsigned CreateRegs(const Type *Ty); unsigned InitializeRegForValue(const Value *V) { unsigned &R = ValueMap[V]; assert(R == 0 && "Already initialized this value register!"); - return R = CreateReg(V->getType()); + return R = CreateRegs(V->getType()); } }; |

