Move default blocks into jump tables (#5756)
Move the default block off of the br_table instrution, and into the JumpTable that it references.
This commit is contained in:
@@ -2515,7 +2515,7 @@
|
||||
|
||||
;; `targets` contains the default target with the list of branch targets
|
||||
;; concatenated.
|
||||
(rule (lower_branch (br_table idx _ _) targets)
|
||||
(rule (lower_branch (br_table idx _) targets)
|
||||
(let ((jt_size u32 (targets_jt_size targets))
|
||||
(_ InstOutput (side_effect
|
||||
(emit_island (targets_jt_space targets))))
|
||||
|
||||
Reference in New Issue
Block a user