diff options
author | Devang Patel <dpatel@apple.com> | 2010-08-31 19:41:03 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-08-31 19:41:03 +0000 |
commit | 529f248eb4a107946e7fa1013370f514c7d7dcea (patch) | |
tree | c81f2579ee367f979c9a1ca95203c85dcc5fcc4a /llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | |
parent | 11c23fc34986c800f453824720fe4855729f8f05 (diff) | |
download | bcm5719-llvm-529f248eb4a107946e7fa1013370f514c7d7dcea.tar.gz bcm5719-llvm-529f248eb4a107946e7fa1013370f514c7d7dcea.zip |
Revert r112623. It is causing self host build failures.
llvm-svn: 112631
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp index bed9c08ee9d..77a2c866966 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp @@ -254,29 +254,6 @@ unsigned FunctionLoweringInfo::CreateRegs(const Type *Ty) { return FirstReg; } -/// setByValArgumentFrameIndex - Record frame index for the byval -/// argument. This overrides previous frame index entry for this argument, -/// if any. -void FunctionLoweringInfo::setByValArgumentFrameIndex(const Argument *A, - int FI) { - assert (A->hasByValAttr() && "Argument does not have byval attribute!"); - ByValArgFrameIndexMap[A] = FI; -} - -/// getByValArgumentFrameIndex - Get frame index for the byval argument. -/// This routine must be used after the argument's frame index is set. -/// If the argument does not have any entry in the map then assertion -/// will be raised. -int FunctionLoweringInfo::getByValArgumentFrameIndex(const Argument *A) { - assert (A->hasByValAttr() && "Argument does not have byval attribute!"); - DenseMap<const Argument *, int>::iterator I = - ByValArgFrameIndexMap.find(A); - assert (I != ByValArgFrameIndexMap.end() && - "Argument does not have assigned frame index!"); - return I->second; - -} - /// AddCatchInfo - Extract the personality and type infos from an eh.selector /// call, and add them to the specified machine basic block. void llvm::AddCatchInfo(const CallInst &I, MachineModuleInfo *MMI, |