Commit 0ac8945
committed
JIT: Fix missing untag of BSBinaryReg in do_get_tail
BSBinaryReg holds a tagged binary term (from match state element 1).
In do_get_tail, it was used directly as a base pointer in
get_array_element, causing ldr to use an address offset by the tag
bits (TERM_PRIMARY_BOXED = 0x02).
Signed-off-by: Paul Guyot <pguyot@kallisys.net>1 parent c805acc commit 0ac8945
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3134 | 3134 | | |
3135 | 3135 | | |
3136 | 3136 | | |
3137 | | - | |
| 3137 | + | |
| 3138 | + | |
| 3139 | + | |
| 3140 | + | |
3138 | 3141 | | |
3139 | 3142 | | |
3140 | 3143 | | |
| |||
0 commit comments