switched CPPCompile::Canonicalize() to take std::string instead of const char*

This commit is contained in:
Vern Paxson 2024-11-04 08:22:37 -08:00
parent 84d8e74884
commit 519fec2592
6 changed files with 11 additions and 13 deletions

View file

@ -259,7 +259,7 @@ void CPPCompile::GenStandaloneActivation() {
auto f = func.Func();
auto fname = BodyName(func);
auto bname = Canonicalize(fname.c_str()) + "_zf";
auto bname = Canonicalize(fname) + "_zf";
if ( compiled_funcs.count(bname) == 0 )
// We didn't wind up compiling it.