[loco] Check references on node destruction (#4010)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Fri, 28 Jun 2019 04:29:20 +0000 (13:29 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Fri, 28 Jun 2019 04:29:20 +0000 (13:29 +0900)
commit84d82f22a8f0d508ae8ca9bd3ebb0aeaa6969243
tree29ff2b6370f183ae412e4a4d1acd732a231bf485
parent7f585944fc9964f944ebd31952a2a3ae5f61e0d6
[loco] Check references on node destruction (#4010)

This commit adds an assert to check references in Node destructor in
order to detect dangling references as early as possible.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/loco/include/loco/IR/Node.h
contrib/loco/src/IR/Node.cpp