aboutsummaryrefslogtreecommitdiffstats
path: root/prebuild.delete
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-06-04 12:52:34 +0200
committerBjörn Gustavsson <[email protected]>2019-06-17 10:36:19 +0200
commitfccac1598cc13fcd9a3d7e85e2c4cae722f1bfc4 (patch)
treedec5d5fe89a38825b00435337d5983521099a6e5 /prebuild.delete
parent5943ff2cfb38f7ad572bb76abf425dd128dab72d (diff)
downloadotp-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