aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/CodeGen
diff options
context:
space:
mode:
authorFICTURE7 <FICTURE7@gmail.com>2021-09-29 02:28:34 +0400
committerGitHub <noreply@github.com>2021-09-29 00:28:34 +0200
commit0d23504e30395ba20d1704da464b41f3fe539062 (patch)
treed87f02e8caa6c4cb5665b0d0c19fe63bd4ebd0a8 /ARMeilleure/CodeGen
parent79c854dd2e68f96f802bbb42568e4c52e31fc80e (diff)
Fix PTC count table relocation patching (#2666)
Fix an issue introduced in #2190 where by 2 different count table entry addresses were used for LCQ functions. E.g: ```asm .L1: mov rbp,COUNT_TABLE_0 ;; This gets an address. mov ebp,[rbp] lea esi,[rbp+1] mov rdi,COUNT_TABLE_1 ;; This gets another address. mov [rdi],esi cmp ebp,64h je near .L34 ``` This caused LCQ functions to not tier up when they're loaded from the PTC cache. This does not happen when they're freshly compiled. This PR fixes the issue by ensuring only a single counter is created per translation.
Diffstat (limited to 'ARMeilleure/CodeGen')
0 files changed, 0 insertions, 0 deletions