From d8ee95fd4fb8fb00ad999dffad5fa1613c68a113 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 29 Oct 2009 00:22:00 +0000 Subject: [PATCH] optimize out some ifdefs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85453 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/ExprConstant.cpp | 4 ---- lib/CodeGen/CodeGenFunction.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp index ed55df3a62..b408a3f615 100644 --- a/lib/AST/ExprConstant.cpp +++ b/lib/AST/ExprConstant.cpp @@ -58,12 +58,8 @@ struct EvalInfo { static bool EvaluateLValue(const Expr *E, APValue &Result, EvalInfo &Info); static bool EvaluatePointer(const Expr *E, APValue &Result, EvalInfo &Info); static bool EvaluateInteger(const Expr *E, APSInt &Result, EvalInfo &Info); -#ifndef USEINDIRECTBRANCH -static bool EvaluateIntegerOrLValue(const Expr *E, APValue &Result, EvalInfo &Info); -#else static bool EvaluateIntegerOrLValue(const Expr *E, APValue &Result, EvalInfo &Info); -#endif static bool EvaluateFloat(const Expr *E, APFloat &Result, EvalInfo &Info); static bool EvaluateComplex(const Expr *E, APValue &Result, EvalInfo &Info); diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 1fba3f971e..e4ae77e35b 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -183,11 +183,7 @@ public: void PopConditionalTempDestruction(); private: -#ifndef USEINDIRECTBRANCH - CGDebugInfo* DebugInfo; -#else CGDebugInfo *DebugInfo; -#endif #ifndef USEINDIRECTBRANCH /// LabelIDs - Track arbitrary ids assigned to labels for use in implementing -- 2.40.0