Remove dead code

llvm-svn: 79921
This commit is contained in:
Anders Carlsson 2009-08-24 16:52:33 +00:00
parent 8a2e601917
commit 4557b2c0c2
2 changed files with 0 additions and 12 deletions

View File

@ -404,15 +404,6 @@ void CodeGenFunction::EmitBranchOnBoolExpr(const Expr *Cond,
Builder.CreateCondBr(CondV, TrueBlock, FalseBlock);
}
/// getCGRecordLayout - Return record layout info.
const CGRecordLayout *CodeGenFunction::getCGRecordLayout(CodeGenTypes &CGT,
QualType Ty) {
const RecordType *RTy = Ty->getAs<RecordType>();
assert (RTy && "Unexpected type. RecordType expected here.");
return CGT.getCGRecordLayout(RTy->getDecl());
}
/// ErrorUnsupported - Print out an error that codegen doesn't support the
/// specified stmt yet.
void CodeGenFunction::ErrorUnsupported(const Stmt *S, const char *Type,

View File

@ -521,9 +521,6 @@ public:
/// then reuse it.
void StartBlock(const char *N);
/// getCGRecordLayout - Return record layout info.
const CGRecordLayout *getCGRecordLayout(CodeGenTypes &CGT, QualType RTy);
/// GetAddrOfStaticLocalVar - Return the address of a static local variable.
llvm::Constant *GetAddrOfStaticLocalVar(const VarDecl *BVD);