diff options
author | Björn Gustavsson <[email protected]> | 2019-06-04 12:52:34 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-06-17 10:36:19 +0200 |
commit | fccac1598cc13fcd9a3d7e85e2c4cae722f1bfc4 (patch) | |
tree | dec5d5fe89a38825b00435337d5983521099a6e5 /prebuild.delete | |
parent | 5943ff2cfb38f7ad572bb76abf425dd128dab72d (diff) | |
download | otp-fccac1598cc13fcd9a3d7e85e2c4cae722f1bfc4.tar.gz otp-fccac1598cc13fcd9a3d7e85e2c4cae722f1bfc4.tar.bz2 otp-fccac1598cc13fcd9a3d7e85e2c4cae722f1bfc4.zip |
Create a shared wrapper function for all occurrences of 'fun F/A'
If the `fun F/A` syntax is used multiple times with the same `F/A`,
(for examle, `fun foo/2`), there would a wrapper function and fun
entry generated for each occurrence.
Using the new support in the OTP 23 runtime system, generate a single
wrapper function and fun entry for each `F/A`. Since there is only one
wrapper function, it can be named based on the name of the function it
calls to faciliate debugging, not based on the function that defines
the fun. For example, the wrapper function for `fun foo/0` will now be
named `-fun.foo/0-'.
Diffstat (limited to 'prebuild.delete')
0 files changed, 0 insertions, 0 deletions