From 75a422f3e8fedd8cf11a8946a1c674e09fdc4225 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Staff=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Mon, 8 Oct 2018 14:46:46 +0900 Subject: [PATCH] [enco] Eliminate unused argument of ANNOpBuilder constructor (#1775) ANNOpBuilder currently takes coco::Data *, but it is not used anymore. Signed-off-by: Jonghyun Park --- contrib/enco/core/src/Transforms/Split.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/contrib/enco/core/src/Transforms/Split.cpp b/contrib/enco/core/src/Transforms/Split.cpp index d9c54d2..446a429 100644 --- a/contrib/enco/core/src/Transforms/Split.cpp +++ b/contrib/enco/core/src/Transforms/Split.cpp @@ -33,13 +33,6 @@ using Appender = std::function; class ANNOpBuilder : public coco::Instr::Visitor { public: - // TODO Revise this constructor - ANNOpBuilder(coco::Data *data) - { - // DO NOTHING - } - -public: Appender visit(const coco::UnitF *unit) { if (auto conv = unit->op()->asConv2D()) @@ -443,7 +436,7 @@ void ANNGroupBuilder::build(void) const 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. -- 2.7.4