forked from github/verilator
Internals: Use VL_TO_STRING instead of to_string.
This commit is contained in:
parent
135cbcd79a
commit
29923b78fd
@ -2796,8 +2796,10 @@ private:
|
|||||||
newFormat += "%@";
|
newFormat += "%@";
|
||||||
AstNRelinker handle;
|
AstNRelinker handle;
|
||||||
argp->unlinkFrBack(&handle);
|
argp->unlinkFrBack(&handle);
|
||||||
AstCMethodHard* newp = new AstCMethodHard(
|
AstCMath* newp = new AstCMath(
|
||||||
nodep->fileline(), argp, "to_string", NULL);
|
nodep->fileline(), "VL_TO_STRING(", 0, true);
|
||||||
|
newp->addBodysp(argp);
|
||||||
|
newp->addBodysp(new AstText(nodep->fileline(), ")"));
|
||||||
newp->dtypeSetString();
|
newp->dtypeSetString();
|
||||||
newp->pure(true);
|
newp->pure(true);
|
||||||
newp->protect(false);
|
newp->protect(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user