mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Inline C functions that are used only once, msg1525.
This commit is contained in:
@@ -829,6 +829,7 @@ class EmitCImp : EmitCStmts {
|
||||
splitSizeInc(nodep);
|
||||
|
||||
puts("\n");
|
||||
if (nodep->isInline()) puts("VL_INLINE_OPT ");
|
||||
puts(nodep->rtnTypeVoid()); puts(" ");
|
||||
puts(modClassName(m_modp)+"::"+nodep->name()
|
||||
+"("+cFuncArgs(nodep)+") {\n");
|
||||
|
||||
Reference in New Issue
Block a user