Skip to content

Commit 4984d30

Browse files
committed
arm conds
1 parent c86a597 commit 4984d30

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

backend/arm64/emit.ml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1201,20 +1201,20 @@ let assembly_code_for_poll i ~far ~return_label =
12011201
then (
12021202
match return_label with
12031203
| None ->
1204-
DSL.ins (I.B_cond LS) [| DSL.emit_label lbl_call_gc |];
1204+
DSL.ins (I.B_cond LO) [| DSL.emit_label lbl_call_gc |];
12051205
D.define_label lbl_after_poll
12061206
| Some return_label ->
1207-
DSL.ins (I.B_cond HI) [| DSL.emit_label return_label |];
1207+
DSL.ins (I.B_cond HS) [| DSL.emit_label return_label |];
12081208
DSL.ins I.B [| DSL.emit_label lbl_call_gc |])
12091209
else
12101210
match return_label with
12111211
| None ->
1212-
DSL.ins (I.B_cond HI) [| DSL.emit_label lbl_after_poll |];
1212+
DSL.ins (I.B_cond HS) [| DSL.emit_label lbl_after_poll |];
12131213
DSL.ins I.B [| DSL.emit_label lbl_call_gc |];
12141214
D.define_label lbl_after_poll
12151215
| Some return_label ->
12161216
let lbl = L.create Text in
1217-
DSL.ins (I.B_cond LS) [| DSL.emit_label lbl |];
1217+
DSL.ins (I.B_cond LO) [| DSL.emit_label lbl |];
12181218
DSL.ins I.B [| DSL.emit_label return_label |];
12191219
DSL.labeled_ins lbl I.B [| DSL.emit_label lbl_call_gc |]);
12201220
call_gc_sites

0 commit comments

Comments
 (0)