Cranelift AArch64: Use an allocated encoding for Udf (#4281)

Preserve the current behaviour when code is generated for SpiderMonkey.

Copyright (c) 2022, Arm Limited.
This commit is contained in:
Anton Kirilov
2022-06-22 15:03:28 +01:00
committed by GitHub
parent 2f9d96cd00
commit 25a588c35f
11 changed files with 87 additions and 30 deletions

View File

@@ -26,7 +26,7 @@ block0(v0: i64, v1: i32):
; csel x0, x14, x13, hi
; ret
; block2:
; udf
; udf #0xc11f
function %static_heap_check(i64 vmctx, i32) -> i64 {
gv0 = vmctx
@@ -48,5 +48,5 @@ block0(v0: i64, v1: i32):
; csel x0, x11, x10, hi
; ret
; block2:
; udf
; udf #0xc11f

View File

@@ -8,7 +8,7 @@ block0:
}
; block0:
; udf
; udf #0xc11f
function %g(i64) {
block0(v0: i64):