wazevo(arm64): adds missing PerfMapEnabled branch (#1882)

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
This commit is contained in:
Takeshi Yoneda
2023-12-19 15:13:03 -08:00
committed by GitHub
parent 1a067a5e28
commit d26cbadd46

View File

@@ -449,7 +449,9 @@ func (m *machine) ResolveRelativeAddresses(ctx context.Context) {
} }
if needRerun { if needRerun {
m.ResolveRelativeAddresses(ctx) m.ResolveRelativeAddresses(ctx)
wazevoapi.PerfMap.Clear() if wazevoapi.PerfMapEnabled {
wazevoapi.PerfMap.Clear()
}
return return
} }