<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/compiler, branch maint-22</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Prepare release</title>
<updated>2019-07-10T16:05:13+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2019-07-10T16:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=79adc5c28cd0c78af389ff5e8181abf8fbf17844'/>
<id>79adc5c28cd0c78af389ff5e8181abf8fbf17844</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>compiler: Fix compiler crash introduced by OTP-15952</title>
<updated>2019-07-10T16:04:45+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-07-10T13:41:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9ca0e82455297040069b8274649e7ddd28a5d65b'/>
<id>9ca0e82455297040069b8274649e7ddd28a5d65b</id>
<content type='text'>
An assertion in code generation would fail when the common exit
block was ?BADARG_BLOCK, as some operations expect to always "fail"
directly to that block (= throw an exception) and we had inserted
a dummy block in between.

Other operations could also get funny fail labels, jumping to
blocks that immediately jumped to {f,0}, but these were all cleaned
up by beam_jump, sweeping the bug under the rug.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An assertion in code generation would fail when the common exit
block was ?BADARG_BLOCK, as some operations expect to always "fail"
directly to that block (= throw an exception) and we had inserted
a dummy block in between.

Other operations could also get funny fail labels, jumping to
blocks that immediately jumped to {f,0}, but these were all cleaned
up by beam_jump, sweeping the bug under the rug.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare release</title>
<updated>2019-07-09T07:52:19+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2019-07-09T07:52:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=20e26498ff75c4689a68e11e28016ae5fe44d791'/>
<id>20e26498ff75c4689a68e11e28016ae5fe44d791</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'john/compiler/fix-fail-path-exceptions-bsm/OTP-15946' into maint-22</title>
<updated>2019-07-09T07:52:15+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2019-07-09T07:52:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=861aaf5ae85c9992329b0dbb726c46696ee22fff'/>
<id>861aaf5ae85c9992329b0dbb726c46696ee22fff</id>
<content type='text'>
* john/compiler/fix-fail-path-exceptions-bsm/OTP-15946:
  beam_ssa_bsm: Leave ?BADARG_BLOCK alone when cloning fail path
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* john/compiler/fix-fail-path-exceptions-bsm/OTP-15946:
  beam_ssa_bsm: Leave ?BADARG_BLOCK alone when cloning fail path
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'john/compiler/fix-unsafe-tuple_size-opt/OTP-15945' into maint-22</title>
<updated>2019-07-09T07:52:14+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2019-07-09T07:52:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=82bfcda20f6ca3ec77bc3f35974aca82c12b896f'/>
<id>82bfcda20f6ca3ec77bc3f35974aca82c12b896f</id>
<content type='text'>
* john/compiler/fix-unsafe-tuple_size-opt/OTP-15945:
  beam_ssa_opt: Do not apply tuple_size optimization outside guards
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* john/compiler/fix-unsafe-tuple_size-opt/OTP-15945:
  beam_ssa_opt: Do not apply tuple_size optimization outside guards
</pre>
</div>
</content>
</entry>
<entry>
<title>compiler: Fix broken 'receive' in try/catch blocks</title>
<updated>2019-07-09T07:35:13+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-07-08T12:37:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e20015186fa2372793650a98005faf88e6f6e0fa'/>
<id>e20015186fa2372793650a98005faf88e6f6e0fa</id>
<content type='text'>
This fix is rather ugly and tacked-on, but I'm not comfortable
refactoring the pass in an emergency patch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fix is rather ugly and tacked-on, but I'm not comfortable
refactoring the pass in an emergency patch.
</pre>
</div>
</content>
</entry>
<entry>
<title>beam_ssa_bsm: Leave ?BADARG_BLOCK alone when cloning fail path</title>
<updated>2019-07-03T13:22:59+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-07-03T13:07:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a8461ffed773c4ff80779c16a3637ba3d2e915fd'/>
<id>a8461ffed773c4ff80779c16a3637ba3d2e915fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>beam_ssa_opt: Do not apply tuple_size optimization outside guards</title>
<updated>2019-07-03T08:44:29+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-06-28T06:25:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3dd5ab9473f888ceb8f2ae6d71f51cd92de83f5b'/>
<id>3dd5ab9473f888ceb8f2ae6d71f51cd92de83f5b</id>
<content type='text'>
Rewriting `tuple_size` to `is_tuple` + `tuple_size` will cause it
not to throw an exception, either crashing the compiler or the
emulator when the code runs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rewriting `tuple_size` to `is_tuple` + `tuple_size` will cause it
not to throw an exception, either crashing the compiler or the
emulator when the code runs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare release</title>
<updated>2019-06-12T07:51:26+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2019-06-12T07:51:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d1bd26b07f6597d46a1cb2a6f0a4af7b87b0fb4f'/>
<id>d1bd26b07f6597d46a1cb2a6f0a4af7b87b0fb4f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'john/compiler/fix-bad-bitstring-type-opt/OTP-15872' into maint-22</title>
<updated>2019-06-12T07:51:20+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2019-06-12T07:51:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9fbc06998e2165b0ba33274eb659794999b1577c'/>
<id>9fbc06998e2165b0ba33274eb659794999b1577c</id>
<content type='text'>
* john/compiler/fix-bad-bitstring-type-opt/OTP-15872:
  beam_ssa_type: Fix incorrect bitstring unit determination
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* john/compiler/fix-bad-bitstring-type-opt/OTP-15872:
  beam_ssa_type: Fix incorrect bitstring unit determination
</pre>
</div>
</content>
</entry>
</feed>
