cranelift: Fix br_table for i64 inputs

We still only support a maximum of u32::MAX entries, however we no
longer crash when compiling 64 bit indexes.

Fixes #3100
This commit is contained in:
Afonso Bordado
2021-09-02 15:21:08 +01:00
parent 1532516a36
commit f9ada24bcf
2 changed files with 18 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
test interpret
test run
target aarch64
target x86_64 machinst
target s390x