diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-03-18 11:21:53 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-03-18 11:21:53 -0700 |
commit | 4555b5b81981b74fa20909a72353d45e7be011ad (patch) | |
tree | 5ca80102e513e17bc8138dbc46062fda7a65e7bb /frontends/rpc/rpc_frontend.cc | |
parent | 8b12e97153a30cbc78d97a0f9ded26b653097949 (diff) | |
download | yosys-4555b5b81981b74fa20909a72353d45e7be011ad.tar.gz yosys-4555b5b81981b74fa20909a72353d45e7be011ad.tar.bz2 yosys-4555b5b81981b74fa20909a72353d45e7be011ad.zip |
kernel: more pass by const ref, more speedups
Diffstat (limited to 'frontends/rpc/rpc_frontend.cc')
-rw-r--r-- | frontends/rpc/rpc_frontend.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/rpc/rpc_frontend.cc b/frontends/rpc/rpc_frontend.cc index add17c243..fb3db70d2 100644 --- a/frontends/rpc/rpc_frontend.cc +++ b/frontends/rpc/rpc_frontend.cc @@ -157,7 +157,7 @@ struct RpcServer { struct RpcModule : RTLIL::Module { std::shared_ptr<RpcServer> server; - RTLIL::IdString derive(RTLIL::Design *design, dict<RTLIL::IdString, RTLIL::Const> parameters, bool /*mayfail*/) YS_OVERRIDE { + RTLIL::IdString derive(RTLIL::Design *design, const dict<RTLIL::IdString, RTLIL::Const> ¶meters, bool /*mayfail*/) YS_OVERRIDE { std::string stripped_name = name.str(); if (stripped_name.compare(0, 9, "$abstract") == 0) stripped_name = stripped_name.substr(9); |