From 93f59209142897dbc36d83c6a64e822ebfa92aae Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Jul 2010 00:10:16 +0000 Subject: Rename CreateReg to CreateRegs, and MakeReg to CreateReg. llvm-svn: 107451 --- llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h') 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()); } }; -- cgit v1.2.3