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 (dotnet#76990)
  • Loading branch information
Sapana-Khemkar authored Oct 14, 2022
1 parent d47767a commit 3b1df93
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 3b1df93

Please sign in to comment.