kernel: Cell::set{Port,Param}() to pass by value, but use std::move
authorEddie Hung <eddie@fpgeh.com>
Thu, 26 Mar 2020 21:33:06 +0000 (14:33 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 26 Mar 2020 21:33:06 +0000 (14:33 -0700)
commitf97b90e40b9a9b8e8b8ea692c651464980721ce4
tree5cf78a4af1a31ecb46799c93664c178f69203e6b
parent940640ac4472a83fb575838e66cceeedcb785b61
kernel: Cell::set{Port,Param}() to pass by value, but use std::move

Otherwise cell->setPort(ID::A, cell->getPort(ID::B)) could be invalid
kernel/rtlil.cc
kernel/rtlil.h