Renamed SIZE() to GetSize() because of name collision on Win32
[yosys.git] / passes / proc / proc_arst.cc
index d7cb38bcd2840a3ac8ce6024e7a550d3fa347e01..cd84cfd5bad57e75934f97efd4088de197a96966 100644 (file)
@@ -174,7 +174,7 @@ restart_proc_arst:
                                for (auto &action : sync->actions) {
                                        RTLIL::SigSpec rspec = action.second;
                                        RTLIL::SigSpec rval = RTLIL::SigSpec(RTLIL::State::Sm, rspec.size());
-                                       for (int i = 0; i < SIZE(rspec); i++)
+                                       for (int i = 0; i < GetSize(rspec); i++)
                                                if (rspec[i].wire == NULL)
                                                        rval[i] = rspec[i];
                                        RTLIL::SigSpec last_rval;