aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-29 00:22:00 +0000
committerChris Lattner <sabre@nondot.org>2009-10-29 00:22:00 +0000
commitd8ee95fd4fb8fb00ad999dffad5fa1613c68a113 (patch)
tree6682278d0e48dd8e90055e3db3c12b6865443a6d
parentaddb0f69580cd4ae7c61219e126e68ec6aa3c234 (diff)
optimize out some ifdefs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85453 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/AST/ExprConstant.cpp4
-rw-r--r--lib/CodeGen/CodeGenFunction.h4
2 files changed, 0 insertions, 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