mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-06 01:19:28 +00:00
[IR] Move ctor in the NDEBUG branch
This commit is contained in:
parent
b98f3ce33c
commit
7faa844044
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user