all: Change to use Func::GetName()

This commit is contained in:
Arne Welzel 2024-09-27 12:53:42 +02:00
parent 71e9c8d436
commit 77b9510c8a
13 changed files with 29 additions and 31 deletions

View file

@ -87,7 +87,7 @@ private:
class ScriptProfile : public ScriptProfileStats {
public:
ScriptProfile(const Func* _func, const detail::StmtPtr& body) : ScriptProfileStats(_func->Name()) {
ScriptProfile(const Func* _func, const detail::StmtPtr& body) : ScriptProfileStats(_func->GetName()) {
func = {NewRef{}, const_cast<Func*>(_func)};
is_BiF = body == nullptr;