From 69bd41dfe33f24414be281ba5e2204b7348c33ae Mon Sep 17 00:00:00 2001 From: Shuxin Yang Date: Sun, 27 Oct 2013 03:08:44 +0000 Subject: Revert r193251 : Use address-taken to disambiguate global variable and indirect memops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193489 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/GlobalVariable.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') 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 { // 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); -- cgit v1.2.3