Skip to content

Commit 69943fc

Browse files
committed
Share some binary syntax code between JIT back-ends
Break out code for binary construction and matching that do not depend on the architecture (x86_64 or AArch64).
1 parent 2ff52b6 commit 69943fc

File tree

6 files changed

+599
-861
lines changed

6 files changed

+599
-861
lines changed

erts/emulator/Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,7 @@ JIT_OBJS = \
10561056
$(OBJDIR)/asm_load.o \
10571057
$(OBJDIR)/beam_asm_global.o \
10581058
$(OBJDIR)/beam_asm_module.o \
1059+
$(OBJDIR)/beam_jit_bs.o \
10591060
$(OBJDIR)/beam_jit_common.o \
10601061
$(OBJDIR)/beam_jit_main.o \
10611062
$(OBJDIR)/beam_jit_metadata.o \

erts/emulator/beam/beam_file.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,6 +1490,7 @@ Eterm beamfile_get_literal(const BeamFile *beam, Sint index) {
14901490

14911491
/* Static literal indexes are checked when parsing operations, and dynamic
14921492
* literals are managed by us, so we can only land here through a bug. */
1493+
erts_printf("%ld\n", index);
14931494
ERTS_INTERNAL_ERROR("illegal literal index");
14941495
}
14951496

0 commit comments

Comments
 (0)