[coco] Generate methods from Op.lst (#891)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Fri, 3 Aug 2018 06:02:26 +0000 (15:02 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Fri, 3 Aug 2018 06:02:26 +0000 (15:02 +0900)
commit2b5fff4445fe645007b4e0f2e0ced9520d2f8e07
treee4916cad87c6901965e970884ad1a223469eb834
parentbc1b4274d86b62d031a3107e07a02d365c0df264
[coco] Generate methods from Op.lst (#891)

This commit revises 'Op' class to generate the implementation of casting methods
and 'accept' method from 'Op.lst' file, which allows us to easily extend operators.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/coco/core/include/coco/IR/Op.h
contrib/coco/core/include/coco/IR/Op.lst [new file with mode: 0644]