[coco] Allow Def to access the internals of Object (#1515)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Mon, 17 Sep 2018 04:25:09 +0000 (13:25 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 17 Sep 2018 04:25:09 +0000 (13:25 +0900)
commit7fbea7ab89d6dda928c03be671f5a6d2450c2154
treef7be44a82898134d905cdbecffb40f18d42a6474
parent09025ba4da0cba0075cedd7f9f7c066c734c1361
[coco] Allow Def to access the internals of Object (#1515)

This commit declares Def as a friend of Object class, which allows Def
to access Object's internal fields.

This change allows us to simplify the implementation of Def.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/coco/core/include/coco/IR/Def.h
contrib/coco/core/include/coco/IR/Object.h
contrib/coco/core/src/IR/Def.cpp