<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/compiler/src, branch OTP_R14B04</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Update copyright years</title>
<updated>2011-09-29T16:10:19+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2011-09-29T16:10:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5acac472723ef5cac6a944caf7b7ec4320c003e9'/>
<id>5acac472723ef5cac6a944caf7b7ec4320c003e9</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 'hl/beam_disasm-no_attri_chunk' into dev</title>
<updated>2011-09-22T15:01:35+00:00</updated>
<author>
<name>Henrik Nord</name>
<email>henrik@erlang.org</email>
</author>
<published>2011-09-22T15:01:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=7c11b3f7a00a18fb11918a57ee1d6597ced97a07'/>
<id>7c11b3f7a00a18fb11918a57ee1d6597ced97a07</id>
<content type='text'>
* hl/beam_disasm-no_attri_chunk:
  beam_disasm: Handle stripped BEAM files

OTP-9571
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* hl/beam_disasm-no_attri_chunk:
  beam_disasm: Handle stripped BEAM files

OTP-9571
</pre>
</div>
</content>
</entry>
<entry>
<title>beam_disasm: Handle stripped BEAM files</title>
<updated>2011-09-21T10:19:48+00:00</updated>
<author>
<name>Haitao Li</name>
<email>lihaitao@gmail.com</email>
</author>
<published>2011-07-22T09:14:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=347dfb022195994a368ff12f8d009b7263044f50'/>
<id>347dfb022195994a368ff12f8d009b7263044f50</id>
<content type='text'>
beam_disasm:file/1 would crash if asked to disassemble a stripped
BEAM file without an "Attr" chunk.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
beam_disasm:file/1 would crash if asked to disassemble a stripped
BEAM file without an "Attr" chunk.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'bjorn/compiler-options/OTP-9534' into dev</title>
<updated>2011-09-14T15:17:11+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2011-09-14T15:17:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=68c96ca855821adb42a25ced5b69446ae7ccc635'/>
<id>68c96ca855821adb42a25ced5b69446ae7ccc635</id>
<content type='text'>
* bjorn/compiler-options/OTP-9534:
  sys_pre_expand: Don't duplicate options given in the source code
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bjorn/compiler-options/OTP-9534:
  sys_pre_expand: Don't duplicate options given in the source code
</pre>
</div>
</content>
</entry>
<entry>
<title>sys_pre_expand: Don't duplicate options given in the source code</title>
<updated>2011-09-14T14:42:48+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2011-09-07T08:00:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4792b253584ca8d4429e1a353178db8cd0c470f4'/>
<id>4792b253584ca8d4429e1a353178db8cd0c470f4</id>
<content type='text'>
Any compiler options given with a -compile() attribute in source file
would be included both at the beginning and the end of the option list
for the compiler. Including the options twice is harmless during
compilation, but since the options will also be available in
Mod:module_info(compile), including them twice will waste memory.

Include the options from the source first in the list so that they
override options given on the command line.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Any compiler options given with a -compile() attribute in source file
would be included both at the beginning and the end of the option list
for the compiler. Including the options twice is harmless during
compilation, but since the options will also be available in
Mod:module_info(compile), including them twice will waste memory.

Include the options from the source first in the list so that they
override options given on the command line.
</pre>
</div>
</content>
</entry>
<entry>
<title>compile: optimize werror/1</title>
<updated>2011-09-08T12:02:17+00:00</updated>
<author>
<name>Tuncer Ayaz</name>
<email>tuncer.ayaz@gmail.com</email>
</author>
<published>2011-09-01T11:49:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=899dbcf1cae11318ee1617eca4b61311e83f5ec5'/>
<id>899dbcf1cae11318ee1617eca4b61311e83f5ec5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>compile: log warnings as errors if -Werror is enabled</title>
<updated>2011-09-08T12:02:17+00:00</updated>
<author>
<name>Tuncer Ayaz</name>
<email>tuncer.ayaz@gmail.com</email>
</author>
<published>2011-08-02T15:48:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=25f32f4683d0692afeda4b0cbf03a1c67f2f25ab'/>
<id>25f32f4683d0692afeda4b0cbf03a1c67f2f25ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not write beam file if Werr and warnings /= []</title>
<updated>2011-09-08T12:02:16+00:00</updated>
<author>
<name>Tuncer Ayaz</name>
<email>tuncer.ayaz@gmail.com</email>
</author>
<published>2011-06-01T19:38:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3d28c22f0c05955216b743148cfd4c656e4c1e4a'/>
<id>3d28c22f0c05955216b743148cfd4c656e4c1e4a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years</title>
<updated>2011-05-20T14:11:43+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>psyeugenic@gmail.com</email>
</author>
<published>2011-05-20T14:11:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ad5a1519e74d79218c0dd2ef79a39d75bd0155bf'/>
<id>ad5a1519e74d79218c0dd2ef79a39d75bd0155bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>beam_bsm: Eliminate uncovered line in warning generation</title>
<updated>2011-04-12T03:54:47+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2011-04-10T09:10:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=13be8d88969caa266b07d09294094a4cce8bbd8f'/>
<id>13be8d88969caa266b07d09294094a4cce8bbd8f</id>
<content type='text'>
In warning_translate_label/2, gb_trees:lookup/2 is called
to translate from the entry label for a function to its name.
Since the gb_tree has an entry for all functions in the module,
there is no way that the lookup can fail unless there is a
serious bug.

Therefore, use gb_trees:get/2 so that an exception and an
internal compiler error will be generated if the lookup would
ever fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In warning_translate_label/2, gb_trees:lookup/2 is called
to translate from the entry label for a function to its name.
Since the gb_tree has an entry for all functions in the module,
there is no way that the lookup can fail unless there is a
serious bug.

Therefore, use gb_trees:get/2 so that an exception and an
internal compiler error will be generated if the lookup would
ever fail.
</pre>
</div>
</content>
</entry>
</feed>
