]> granicus.if.org Git - llvm/commit
[IR] Remove override of operator new from PHINode.
authorCraig Topper <craig.topper@intel.com>
Tue, 13 Jun 2017 00:00:19 +0000 (00:00 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 13 Jun 2017 00:00:19 +0000 (00:00 +0000)
commit490f2e0bf7dcdcb5840c6b96943a233f4f2bfdc5
tree2e0193edf0d18c73050e339082208906db6d7935
parent3f23964a3930dfcfd656730c549456f967fd312d
[IR] Remove override of operator new from PHINode.

This just forwarded to the same signature in User. The version in User is protected so there's no danger of anyone outside of PHINode constructing with the wrong operator new. All PHINodes are created by a static Create function in PHINode.

I believe at one point in history this called User::operator new(s, 0) so it was useful then.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305255 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Instructions.h