Fix a bug in the binemit file test.

Only emit each instruction once, or the offset computations go all
wrong.
This commit is contained in:
Jakob Stoklund Olesen
2017-04-06 11:13:13 -07:00
parent b5c74fdc25
commit e56482d0fd
2 changed files with 2 additions and 2 deletions

View File

@@ -75,9 +75,11 @@ ebb0:
[-,%x7] v140 = iconst.i32 0x12345000 ; bin: 123453b7
[-,%x16] v141 = iconst.i32 0xffffffff_fedcb000 ; bin: fedcb837
jump ebb1
; Control Transfer Instructions
ebb1:
; beq
br_icmp eq, v1, v2, ebb0 ; bin: Branch(ebb0) 01550063
; bne