Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeale Ferguson <neale@sinenomine.net>2022-10-13 00:26:10 +0300
committerGitHub <noreply@github.com>2022-10-13 00:26:10 +0300
commit5c083481858d9727fdcdc5f3d1df757fb48e846f (patch)
tree3a01e0bbbb6fe0c8bbfc20926dbef9b3f297f557
parent4fd399ee799828ac9d98e82741d83e3839da3569 (diff)
Fix OP_CHECK_THIS - matches PR#76916 for dotnet runtime (#21562)
-rw-r--r--mono/mini/mini-s390x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mono/mini/mini-s390x.c b/mono/mini/mini-s390x.c
index 85b5007ad48..fa2b9b67795 100644
--- a/mono/mini/mini-s390x.c
+++ b/mono/mini/mini-s390x.c
@@ -3593,8 +3593,7 @@ mono_arch_output_basic_block (MonoCompile *cfg, MonoBasicBlock *bb)
break;
case OP_CHECK_THIS: {
/* ensure ins->sreg1 is not NULL */
- s390_lg (code, s390_r0, 0, ins->sreg1, 0);
- s390_ltgr (code, s390_r0, s390_r0);
+ s390_llgc (code, s390_r0, 0, ins->sreg1, 0);
}
break;
case OP_ARGLIST: {