ANNOpBuilder currently takes coco::Data *, but it is not used anymore.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
class ANNOpBuilder : public coco::Instr::Visitor<Appender>
{
public:
- // TODO Revise this constructor
- ANNOpBuilder(coco::Data *data)
- {
- // DO NOTHING
- }
-
-public:
Appender visit(const coco::UnitF *unit)
{
if (auto conv = unit->op()->asConv2D())
auto m = _code->module();
auto d = _code->data();
- ANNOpBuilder op_builder{d};
+ ANNOpBuilder op_builder;
// ANNGroupBuilder will construct a sequence of blocks from the original block sequence, and
// a destination block (that dst_blk points to) is the tail of the generated sequence.