summaryrefslogtreecommitdiff
path: root/include/llvm/Support/ValueHandle.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-02 23:53:03 +0000
committerChris Lattner <sabre@nondot.org>2009-04-02 23:53:03 +0000
commit6caced956460ec360c79dc7d20e872fba1b73583 (patch)
treec4b4143b37cc06d280a853b505d7555537a7108e /include/llvm/Support/ValueHandle.h
parentc2eb87afc19aa4b4a156576da2b53fc2c417b3d8 (diff)
downloadllvm-6caced956460ec360c79dc7d20e872fba1b73583.tar.gz
llvm-6caced956460ec360c79dc7d20e872fba1b73583.tar.bz2
llvm-6caced956460ec360c79dc7d20e872fba1b73583.tar.xz
add missing *
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68350 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/ValueHandle.h')
-rw-r--r--include/llvm/Support/ValueHandle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/ValueHandle.h b/include/llvm/Support/ValueHandle.h
index 3cf964d011..27714646f7 100644
--- a/include/llvm/Support/ValueHandle.h
+++ b/include/llvm/Support/ValueHandle.h
@@ -141,7 +141,7 @@ public:
/// operations. This means that RAUW's need to explicitly update the
/// AssertingVH's as it moves. This is required because in non-assert mode this
/// class turns into a trivial wrapper around a pointer.
-template <typename ValueTy = Value>
+template <typename ValueTy>
class AssertingVH
#ifndef NDEBUG
: public ValueHandleBase
@@ -185,7 +185,7 @@ public:
}
ValueTy *operator->() const { return getValPtr(); }
- ValueTy &operator*() const { return getValPtr(); }
+ ValueTy &operator*() const { return *getValPtr(); }
// Duplicate these from the base class so that they work when assertions are
// off.