[IR] Move ctor in the NDEBUG branch

This commit is contained in:
Fangrui Song 2019-12-05 15:22:53 -08:00
parent b98f3ce33c
commit 7faa844044

View File

@ -264,9 +264,8 @@ public:
#else
AssertingVH() : ThePtr(nullptr) {}
AssertingVH(ValueTy *P) : ThePtr(GetAsValue(P)) {}
#endif
AssertingVH(const AssertingVH<ValueTy> &) = default;
#endif
operator ValueTy*() const {
return getValPtr();