[erlang-bugs] Enhancement to compiler-4.5.4 documentation
Sun Oct 5 08:18:24 CEST 2008
2008/10/4 Edwin Fine <>
> In the documentation for compiler-4.5.4, in the options it states
> export_all Causes all functions in the module to be exported.This does not
> explain that previously inlined functions become "uninlined" and are also
> exported. I suggest changing this to the following:
Are you sure about "uninlined"?
The expected behavior is that exported functions are still inlined, but
still kept as a exported functions. Examining
the assembly code for the following module
it can be seen that the call to foo/0 has been replaced with 42 in t/0.
export_all Causes all functions in the module to be exported*, including
> functions that are declared as inline.*I think it's rather important to
> know this.
Why? The functions are still being inlined as expected.
Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-bugs