Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-13 | Refactor instructions to support relative jumps | Björn Gustavsson | |
Introduce new macros that can be used for relative jumps and use them consistently. Test that everything works by using a non-zero constant JUMP_OFFSET. The loader subtracts JUMP_OFFSET from loaded labels, and all instructions that use 'f' operands add it back. | |||
2017-08-31 | Add annotations for likely/unlikely | Björn Gustavsson | |
In a correct Erlang programs, we can expect that: * A GC test instruction (such as test_heap) is more likely not to do the GC. * A BIF is more likely to succeed than to fail. * A BIF is more likely to fail in a guard than in a body. * An apply or fun call is likely to succeed. Annotate conditions accordingly. | |||
2017-08-11 | Break out most instructions from beam_emu.c | Björn Gustavsson | |