diff options
Diffstat (limited to 'include/llvm/Analysis/LiveVar/ValueSet.h')
-rw-r--r-- | include/llvm/Analysis/LiveVar/ValueSet.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Analysis/LiveVar/ValueSet.h b/include/llvm/Analysis/LiveVar/ValueSet.h index 0c0aefad20..88897bf3ad 100644 --- a/include/llvm/Analysis/LiveVar/ValueSet.h +++ b/include/llvm/Analysis/LiveVar/ValueSet.h @@ -7,8 +7,9 @@ class Value; // RAV - Used to print values in a form used by the register allocator. // struct RAV { // Register Allocator Value - const Value *V; - RAV(const Value *v) : V(v) {} + const Value &V; + RAV(const Value *v) : V(*v) {} + RAV(const Value &v) : V(v) {} }; std::ostream &operator<<(std::ostream &out, RAV Val); |