summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/IR/GlobalVariable.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/IR/GlobalVariable.h b/include/llvm/IR/GlobalVariable.h
index a5ab97db23..bfed50786e 100644
--- a/include/llvm/IR/GlobalVariable.h
+++ b/include/llvm/IR/GlobalVariable.h
@@ -48,7 +48,6 @@ class GlobalVariable : public GlobalValue, public ilist_node<GlobalVariable> {
// can change from its initial
// value before global
// initializers are run?
- bool notAddrTaken : 1; // Dose not have address taken.
public:
// allocate space for exactly one operand
@@ -175,9 +174,6 @@ public:
isExternallyInitializedConstant = Val;
}
- void setAddressMaybeTaken(bool Val) { notAddrTaken = !Val; }
- bool AddressMaybeTaken(void) const { return !notAddrTaken; }
-
/// copyAttributesFrom - copy all additional attributes (those not needed to
/// create a GlobalVariable) from the GlobalVariable Src to this one.
void copyAttributesFrom(const GlobalValue *Src);