Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit cc76b83

Browse files
sergign60BruceForstall
authored andcommitted
[arm32] Fixed RBM_PROFILER_* (#17291)
* [arm32] Fixed RBM_PROFILER_* * Changed trash registers to RBM_NONE
1 parent 9b2659c commit cc76b83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/jit/target.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,6 +1437,11 @@ typedef unsigned short regPairNoSmall; // arm: need 12 bits
14371437
#define RBM_PROFILER_JMP_USED RBM_R0
14381438
#define RBM_PROFILER_TAIL_USED (RBM_R0 | RBM_R12 | RBM_LR)
14391439

1440+
// The registers trashed by profiler enter/leave/tailcall hook
1441+
// See vm\arm\asmhelpers.asm for more details.
1442+
#define RBM_PROFILER_ENTER_TRASH RBM_NONE
1443+
#define RBM_PROFILER_LEAVE_TRASH RBM_NONE
1444+
#define RBM_PROFILER_TAILCALL_TRASH RBM_NONE
14401445

14411446
// Which register are int and long values returned in ?
14421447
#define REG_INTRET REG_R0

0 commit comments

Comments
 (0)