diff options
author | Björn Gustavsson <[email protected]> | 2017-11-13 13:26:07 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-11-13 13:26:07 +0100 |
commit | 19245b1ac7bf881319950adb973ff2ce24fea23e (patch) | |
tree | a6b87d6fa56928cd4d1b303b7aa89d34f8c4a023 /erts/emulator/beam/macros.tab | |
parent | 67b1ee533e8ed22242bc4531f4b206ad6081bc7e (diff) | |
parent | 773ded1a02898c4a1f9f395d8df1b25444631706 (diff) | |
download | otp-19245b1ac7bf881319950adb973ff2ce24fea23e.tar.gz otp-19245b1ac7bf881319950adb973ff2ce24fea23e.tar.bz2 otp-19245b1ac7bf881319950adb973ff2ce24fea23e.zip |
Merge pull request #1624 from bjorng/bjorn/add-beam-internal-doc
Add internal documentation for the beam_makeops script
OTP-14626
Diffstat (limited to 'erts/emulator/beam/macros.tab')
-rw-r--r-- | erts/emulator/beam/macros.tab | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/erts/emulator/beam/macros.tab b/erts/emulator/beam/macros.tab index e0b5f56b53..494fe8961e 100644 --- a/erts/emulator/beam/macros.tab +++ b/erts/emulator/beam/macros.tab @@ -20,13 +20,12 @@ // // -// Use if there is a garbage collection before storing to a -// general destination (either X or Y register). +// Define a regular expression that will match instructions that +// perform GC. That will allow beam_makeops to check for instructions +// that don't use $REFRESH_GEN_DEST() when they should. // -REFRESH_GEN_DEST() { - dst_ptr = REG_TARGET_PTR(dst); -} +GC_REGEXP=erts_garbage_collect|erts_gc|GcBifFunction; // $Offset is relative to the start of the instruction (not to the // location of the failure label reference). Since combined |