Skip to content

Commit

Permalink
wazevo(arm64): adds missing PerfMapEnabled branch (#1882)
Browse files Browse the repository at this point in the history
Signed-off-by: Takeshi Yoneda <[email protected]>
  • Loading branch information
mathetake authored Dec 19, 2023
1 parent 1a067a5 commit d26cbad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/engine/wazevo/backend/isa/arm64/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,9 @@ func (m *machine) ResolveRelativeAddresses(ctx context.Context) {
}
if needRerun {
m.ResolveRelativeAddresses(ctx)
wazevoapi.PerfMap.Clear()
if wazevoapi.PerfMapEnabled {
wazevoapi.PerfMap.Clear()
}
return
}

Expand Down

0 comments on commit d26cbad

Please sign in to comment.