<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/compiler/test/compilation_SUITE_data, branch maint-18</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Change license text to APLv2</title>
<updated>2015-06-18T09:31:02+00:00</updated>
<author>
<name>Bruce Yinhe</name>
<email>bruce@erlang.org</email>
</author>
<published>2015-06-18T09:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=738c34d4bb8f1a3811acd00af8c6c12107f8315b'/>
<id>738c34d4bb8f1a3811acd00af8c6c12107f8315b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>compiler: Remove support for packages</title>
<updated>2013-01-09T11:41:02+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2012-12-03T10:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f143990aea3ed5dd62952c1ed3d0a052f011626f'/>
<id>f143990aea3ed5dd62952c1ed3d0a052f011626f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>compiler: Teach the inliner to preserve on_load functions</title>
<updated>2012-02-13T09:29:00+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2012-02-13T08:45:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f928756b2b7f26b90d962cc038d4ba68619c1bf5'/>
<id>f928756b2b7f26b90d962cc038d4ba68619c1bf5</id>
<content type='text'>
The inliner was ignorant of on_load functions and would discard them
(unless they were exported or referenced).

Noticed-by: Yiannis Tsiouris &lt;gtsiour@softlab.ntua.gr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The inliner was ignorant of on_load functions and would discard them
(unless they were exported or referenced).

Noticed-by: Yiannis Tsiouris &lt;gtsiour@softlab.ntua.gr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>beam_asm: Simplify string table generation for beams</title>
<updated>2010-07-29T07:11:52+00:00</updated>
<author>
<name>Paul Guyot</name>
<email>pguyot@kallisys.net</email>
</author>
<published>2010-07-04T13:08:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=173d1fd1c3fef385f73accc4b2bbb1b6f92ac3f5'/>
<id>173d1fd1c3fef385f73accc4b2bbb1b6f92ac3f5</id>
<content type='text'>
The code for generating the string table (which is now
only used for bit syntax matching) in a BEAM file is quite
complicated and potentially expensive when compiling modules
with many thousands of clauses doing bit syntax matching.

Simplify and optimize the code using bit syntax and
binary:match/2 instead of the list operations in the
original code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The code for generating the string table (which is now
only used for bit syntax matching) in a BEAM file is quite
complicated and potentially expensive when compiling modules
with many thousands of clauses doing bit syntax matching.

Simplify and optimize the code using bit syntax and
binary:match/2 instead of the list operations in the
original code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the expected return value for on_load functions</title>
<updated>2009-12-13T14:42:36+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2009-12-10T09:21:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=7ab33f49185d5a416198f1e0bf5a2ca9f347bbac'/>
<id>7ab33f49185d5a416198f1e0bf5a2ca9f347bbac</id>
<content type='text'>
An on_load function is supposed to return 'true' to indicate
that the module should be loaded, and 'false' if it should be
unloaded. But returning any other term, as well as causing an
exception, will also unload the module.

Since we don't like boolean values mixed with other values,
change the expected return value as follows:

* If 'ok' is returned, the module will remain loaded and become
  callable.

* If any other value is returned (or an exception is generated),
  the module will be unloaded. Also, if the returned value is
  not an atom, send a warning message to the error_logger
  (using error_logger:warning_msg/2).

The new interpretation of the return value means that an on_load
function can now directly return the return value from
erlang:load_nif/2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An on_load function is supposed to return 'true' to indicate
that the module should be loaded, and 'false' if it should be
unloaded. But returning any other term, as well as causing an
exception, will also unload the module.

Since we don't like boolean values mixed with other values,
change the expected return value as follows:

* If 'ok' is returned, the module will remain loaded and become
  callable.

* If any other value is returned (or an exception is generated),
  the module will be unloaded. Also, if the returned value is
  not an atom, send a warning message to the error_logger
  (using error_logger:warning_msg/2).

The new interpretation of the return value means that an on_load
function can now directly return the return value from
erlang:load_nif/2.
</pre>
</div>
</content>
</entry>
<entry>
<title>The R13B03 release.</title>
<updated>2009-11-20T14:54:40+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2009-11-20T14:54:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=84adefa331c4159d432d22840663c38f155cd4c1'/>
<id>84adefa331c4159d432d22840663c38f155cd4c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
