Skip to content

Commit

Permalink
use byte load instruction in OP_CHECK_THIS instead of double word ins…
Browse files Browse the repository at this point in the history
…truction (#77269)

Co-authored-by: Sapana Khemkar <[email protected]>
  • Loading branch information
github-actions[bot] and Sapana-Khemkar authored Nov 2, 2022
1 parent 1f754be commit 8d4ac19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/mini/mini-ppc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3837,7 +3837,7 @@ mono_arch_output_basic_block (MonoCompile *cfg, MonoBasicBlock *bb)
}
case OP_CHECK_THIS:
/* ensure ins->sreg1 is not NULL */
ppc_ldptr (code, ppc_r0, 0, ins->sreg1);
ppc_lbz (code, ppc_r0, 0, ins->sreg1);
break;
case OP_ARGLIST: {
long cookie_offset = cfg->sig_cookie + cfg->stack_usage;
Expand Down

0 comments on commit 8d4ac19

Please sign in to comment.