OSDN Git Service

Subzero: Fix the LLVM trunk build.
authorJim Stichnoth <stichnot@chromium.org>
Mon, 29 Aug 2016 17:15:18 +0000 (10:15 -0700)
committerJim Stichnoth <stichnot@chromium.org>
Mon, 29 Aug 2016 17:15:18 +0000 (10:15 -0700)
commit8b21cc589f0cc01344a6a772c97c1f24a40718cc
tree3149da92648670e4c722416284c827d6325b5c7d
parent135f5dbff28dfe8bb2f33363956eb7ea5f236ff9
Subzero: Fix the LLVM trunk build.

The original Ice::Inst needed a bit of template specialization so that llvm::ilist<Ice::Inst> methods wouldn't try to invoke private/deleted ctor/dtor methods.  The Subzero code copied a pattern fairly widely used in LLVM.

Recently, LLVM improved ilist<> so that this specialization is no longer needed.

BUG= none
R=jpp@chromium.org

Review URL: https://codereview.chromium.org/2287363002 .
src/IceInst.h