[locop] Replace deprecated FixedArityNode class (#6927)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 27 Aug 2019 01:23:00 +0000 (10:23 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 27 Aug 2019 01:23:00 +0000 (10:23 +0900)
This commit revises locop to use FixedArity mix-in instead of deprecated
FixedArityNode class.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
compiler/locop/src/FormattedGraph.test.cpp

index 6136390..b0d9589 100644 (file)
@@ -81,7 +81,7 @@ TEST(LinearV1FormatterTest, user_defined_node_summary_builder)
 // This test shows how to compose two node summary builders.
 TEST(LinearV1FormatterTest, node_summary_builder_composition)
 {
-  struct MyNode : public loco::FixedArityNode<0, loco::Node>
+  struct MyNode : public loco::FixedArity<0>::Mixin<loco::Node>
   {
     uint32_t opnum(void) const final { return 0; }
     const loco::Dialect *dialect(void) const final { return nullptr; };