summaryrefslogtreecommitdiff
path: root/erts/emulator/beam/beam_code.h
Commit message (Collapse)AuthorAgeFilesLines
* Reject loading NIFs not in -nifs()Sverker Eriksson2021-12-201-0/+7
|
* Update copyright yearRickard Green2021-12-131-1/+1
|
* erts: Fix crash on exceptions with huge line numbersJohn Högberg2021-10-141-1/+5
| | | | | | | | Unrepresentable locations should be ignored, but I forgot to bring that over when rewriting the loader in OTP 24. To prevent something like this from happening again, ignore them in the MAKE_LOCATION macro rather than around each use.
* erts: Replace `BeamInstr*` with `ErtsCodePtr` (void*)John Högberg2020-11-121-1/+1
| | | | | Using `BeamInstr*` means that all code must be word-aligned even when we're not pointing at BEAM opcodes, which is rather wasteful.
* otp: Remove HiPE and HiPE-related accessoriesJohn Högberg2020-11-091-3/+0
|
* jit: Make all code read-only, dual-mapping writable pagesJohn Högberg2020-11-051-10/+9
| | | | | | | | This allows the JIT to be used on systems that enforce a W^X policy. To help catch related errors at compile time, all code pointers have been marked `const`.
* jit: Further polish and optimize BEAMASMBjörn Gustavsson2020-09-221-1/+1
| | | | | | Co-authored-by: Lukas Larsson <lukas@erlang.org> Co-authored-by: John Högberg <john@erlang.org> Co-authored-by: Dan Gudmundsson <dgud@erlang.org>
* erts: Implement the BeamAsm JITLukas Larsson2020-09-221-1/+5
| | | | | | Co-authored-by: John Högberg <john@erlang.org> Co-authored-by: Dan Gudmundsson <dgud@erlang.org> Co-authored-by: Björn Gustavsson <bjorn@erlang.org>
* erts: Rework loading of beam codeLukas Larsson2020-09-211-0/+155
This is done in preperation from BeamAsm Co-authored-by: John Högberg <john@erlang.org> Co-authored-by: Dan Gudmundsson <dgud@erlang.org>