diff options
Diffstat (limited to 'llvm/include/llvm/Use.h')
| -rw-r--r-- | llvm/include/llvm/Use.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/llvm/include/llvm/Use.h b/llvm/include/llvm/Use.h index ccbdd7fcae1..1bdacb48f4d 100644 --- a/llvm/include/llvm/Use.h +++ b/llvm/include/llvm/Use.h @@ -60,6 +60,10 @@ public: /// that also works with less standard-compliant compilers void swap(Use &RHS); + // A type for the word following an array of hung-off Uses in memory, which is + // a pointer back to their User with the bottom bit set. + typedef PointerIntPair<User*, 1, unsigned> UserRef; + private: /// Copy ctor - do not implement Use(const Use &U); @@ -208,15 +212,6 @@ public: unsigned getOperandNo() const; }; -//===----------------------------------------------------------------------===// -// AugmentedUse layout struct -//===----------------------------------------------------------------------===// - -struct AugmentedUse : public Use { - PointerIntPair<User*, 1, unsigned> ref; - AugmentedUse(); // not implemented -}; - } // End llvm namespace #endif |

