quickjs/gen
Ben Noordhuis c7ca3febd3
Don't serialize IC opcodes (#334)
Translate IC opcodes to their non-IC variants before writing them out.
Before this commit they were not byte-swapped properly, breaking the
ability to load serialized bytecode containing ICs on systems with
different endianness. Inline caches are recomputed as needed now.

A pleasing side effect of this change is that serialized bytecode is,
on average, a little smaller because fewer atoms are duplicated now.
2024-03-27 12:07:11 +01:00
..
function_source.c Don't serialize IC opcodes (#334) 2024-03-27 12:07:11 +01:00
hello.c Don't serialize IC opcodes (#334) 2024-03-27 12:07:11 +01:00
hello_module.c Don't serialize IC opcodes (#334) 2024-03-27 12:07:11 +01:00
repl.c Don't serialize IC opcodes (#334) 2024-03-27 12:07:11 +01:00
test_fib.c Don't serialize IC opcodes (#334) 2024-03-27 12:07:11 +01:00