aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-04-12beam_bsm: Eliminate uncovered line in warning generationBjörn Gustavsson
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.
2011-04-12match_SUITE: Cover a clause in beam_dead:forward/4Björn Gustavsson
2011-04-12beam_dead: Remove uncovered special case handling of empty blocksBjörn Gustavsson
There is never any empty blocks when beam_dead is invoked. Even if there were, they will be removed a little bit later in forward/4.
2011-04-12beam_dead: Remove uncovered clauses in binary matching optimizationBjörn Gustavsson
In the optimization of binary matching, it seems that two clauses cannot never be reached. Removing the clauses is safe, since that would only mean that an opportunity for an optimization is lost
2011-04-12beam_dead: Remove uncoverable case clause in update_value_dict/3Björn Gustavsson
Because the code generator (v3_codegen) would not include the same value more than once in a select_val/3 instruction and because a label can only be referenced by one select_val/3 instruction, there is no way that the correct value could already be in the gb_tree. (Even if it could happen, this change is safe because only opportunity for an optimization would be missed; incorrect code would not be generated.)
2011-04-12beam_dead: Remove code that cannot be covered in forward/4Björn Gustavsson
Since the optimizations in forward/4 already depends on some assumptions on how code is generated anyway, document the assumptions in a comment and remove the uncoverable code.
2011-04-12record_SUITE: Cover optimization of is_record/3 in beam_typeBjörn Gustavsson
Since the introduction of improved record optimizations in 1858cb81391d2bce29b4b7620574ca60128cebf7 and 470c91d43eae54f63661645acbce4b92d73287cc, the optimization of a is_record/3 call with a known correct type in beam_type:simplify_basic_1/3 has not been covered.
2011-04-12compiler tests: Reinstate ?MODULE macro in calls to test_lib:recompile/1Björn Gustavsson
In 3d0f4a3085f11389e5b22d10f96f0cbf08c9337f (an update to conform with common_test), in all test_lib:recompile(?MODULE) calls, ?MODULE was changed to the actual name of the module. That would cause test_lib:recompile/1 to compile the module with the incorrect compiler options in cloned modules such as record_no_opt_SUITE, causing worse coverage.
2011-04-11Merge branch 'siri/sasl/rb-help-error/OTP-9166' into devSiri Hansen
* siri/sasl/rb-help-error/OTP-9166: rb help error
2011-04-08Merge branch 'at/os_mon_dragonfly_support' into devHenrik Nord
* at/os_mon_dragonfly_support: Add support for DragonFlyBSD to memsup OTP-9217
2011-04-08Merge branch 'at/os_mon_netbsd_support' into devHenrik Nord
* at/os_mon_netbsd_support: Add NetBSD support to memsup and disksup OTP-9216
2011-04-08Merge branch 'mk/net-kernel-epmd-return-list' into devHenrik Nord
* mk/net-kernel-epmd-return-list: Fix list returned by net_kernel:epmd_module OTP-9215
2011-04-08Merge branch 'ms/epmd-local-access-check' into devHenrik Nord
* ms/epmd-local-access-check: epmd: include host address in local access check OTP-9214
2011-04-08Merge branch 'hw/epmd-bind-to-address' into devHenrik Nord
* hw/epmd-bind-to-address: Allow user to specify the IP address epmd binds to OTP-9213
2011-04-07Merge branch 'ta/erts-unused-vars' into devHenrik Nord
* ta/erts-unused-vars: erts: Remove unused variables OTP-9205
2011-04-07Merge branch 'ts/cover-with-export_all' into devHenrik Nord
* ts/cover-with-export_all: add user specified compiler options on form reloading OTP-9204
2011-04-07Merge branch 'maint-r14' into devNiclas Eklund
2011-04-06Merge branch 'ia/stdlib/supervisor-saves-temporary-child-specs/OTP-9167' ↵Ingela Anderton Andin
into dev * ia/stdlib/supervisor-saves-temporary-child-specs/OTP-9167: Completed bug fix "temporary child specs should not be kept when child terminates" and improved test suite Fix issue with temporary children introduced by OTP-9064
2011-04-05Merge branch 'ks/hipe-ppc64' into devHenrik Nord
* ks/hipe-ppc64: Enable HiPE by default when compiling for PPC64 Translate RTL to PPC code on PPC64 too Changes in ppc files for PPC64 Additions for the PPC64 backend Changes for the PPC64 backend Added loader for ppc64 New files for the 64-bit backends Cleanup tags OTP-9198
2011-04-05Merge branch 'pan/run_erl_race_creating_fifo/OTP-9164' into devPatrik Nyblom
* pan/run_erl_race_creating_fifo/OTP-9164: Fix race in pipe creation. Two simultaneous node starts caused failure
2011-04-05Merge branch 'egil/estone-exported-fix' into devBjörn-Egil Dahlberg
* egil/estone-exported-fix: Fix unexported function in estone testcase
2011-04-05Merge branch 'cg/fix-pointer-dereference' into devHenrik Nord
* cg/fix-pointer-dereference: Fix some wrong pointer dereferences OTP-9194
2011-04-04Merge branch 'ta/driver_entry-typos-re' into devHenrik Nord
* ta/driver_entry-typos-re: Remove gratuitous paren in driver_entry OTP-9192
2011-04-04Fix unexported function in estone testcaseBjörn-Egil Dahlberg
2011-04-04Merge branch 'gl/erts-doterlang-docs' into devHenrik Nord
* gl/erts-doterlang-docs: Add back documentation on .erlang processing OTP-9189
2011-04-04Update release notesErlang/OTP
2011-04-04Merge branch 'dgud/mnesia/missing-where2write/OTP-9168' into maint-r14Erlang/OTP
* dgud/mnesia/missing-where2write/OTP-9168: Prepare release Mnesia sometimes failed to tell all nodes that it had started.
2011-04-04Prepare releaseDan Gudmundsson
2011-04-04Merge branch 'mm/xmerl_doc_fixes' into devHenrik Nord
* mm/xmerl_doc_fixes: Fix minor typos and improve punctuation in the xmerl_xpath @doc comment OTP-9187
2011-04-04Mnesia sometimes failed to tell all nodes that it had started.Dan Gudmundsson
2011-04-04Merge branch 'bd/doc_fixes2' into devHenrik Nord
* bd/doc_fixes2: Fix mistake in blowfish_ebc_en/decrypt docs Compile fixes for earlier documentation fixes Various small documentation fixes OTP-9172
2011-04-04Completed bug fix "temporary child specs should not be kept when childIngela Anderton Andin
terminates" and improved test suite The bug fix supplied by Filipe David Manana <[email protected]> did not cover all possible ways that a process may be terminated as for instance with supervisor:terminate_child. Also there was a bug in the base case of the patch returning a list of a list instead of only the list. Added a timeout for the test cases, eliminated unnecessary sleeps, improved code.
2011-04-04Fix issue with temporary children introduced by OTP-9064Filipe David Manana
The temporary child specs are never removed from the supervisor's state, and have they're MFA component set to {M, F, undefined} instead of the MFA passed in the supervisor:start_child/2 call. Subsequent calls to supervisor:restart_child/2 may crash. Stack trace example: {badarg,[{erlang,apply,[gen_server,start_link,undefined]}, {supervisor,do_start_child,2},{supervisor,handle_call,3}, {gen_server,handle_msg,5}, {proc_lib,init_p_do_apply,3}]}
2011-04-04crashdump_helper: Compile for r12 instead of r11Björn Gustavsson
The r11 option is no longer supported by the compiler (silently ignored).
2011-04-03Add NetBSD support to memsup and disksupAndrew Thompson
2011-04-02Fix minor typos and improve punctuation in the xmerl_xpath @doc commentMarcus Marinelli
2011-04-01Merge branch 'sverker/config-hipe-halfword-prevent' into devSverker Eriksson
* sverker/config-hipe-halfword-prevent: Prevent configuration of hipe and halfword emulator together
2011-04-01Merge branch 'sverker/hipe-binmatch-heap-corrupt' into devSverker Eriksson
* sverker/hipe-binmatch-heap-corrupt: Fix hipe bug in convert_matchstate, bignum-padding one word too long OTP-9182
2011-04-01Merge branch 'sb/make-files-like-erlc' into devHenrik Nord
* sb/make-files-like-erlc: Change make:files to behave more like erlc OTP-9179
2011-04-01Fix mistake in blowfish_ebc_en/decrypt docsBernard Duggan
2011-04-01Compile fixes for earlier documentation fixesBernard Duggan
Fixed a couple of compilation errors. Also backed out a tiny change that had already been added by Tuncer Ayaz in his binary-part-typo branch.
2011-04-01Various small documentation fixesBernard Duggan
This change fixes a bunch of small (and a few less small) typos and other errors in various modules that I've spotted throughout my travels.
2011-04-01Merge branch 'hb/syntax_tools/bug_erl_recomment/OTP-9180' into devHans Bolinder
* hb/syntax_tools/bug_erl_recomment/OTP-9180: Fix a bug in erl_recomment
2011-04-01Fix a bug in erl_recommentHans Bolinder
In a file containing declarations and comments without any empty lines between them, the recomment_forms() function would associate a multi-line comment with the declaration above it rather than the one following it. (Thanks to Richard Carlsson.) This bug has been reported several times. It was corrected by Kostis Sagonas, but the fix didn't make into the R14B02 release.
2011-04-01Add support for DragonFlyBSD to memsupAndrew Thompson
DragonFly was partially supported by os_mon already but when trying to start the os_mon application it'd crash with an error about an unknown operating system in memsup. This patch changes memsup to use the FreeBSD sysctl method to get memory information when on DragonFly.
2011-03-31Merge branch 'siri/sasl/no-default-module-test/OTP-9146' into devSiri Hansen
* siri/sasl/no-default-module-test/OTP-9146: Change default behaviour to not check src code when creating release
2011-03-31Merge branch 'mc/disjoint-plt-msg' into devHenrik Nord
* mc/disjoint-plt-msg: Fix the name of an error function OTP-9175
2011-03-31Merge branch 'ta/typer-add-pa-pz' into devHenrik Nord
* ta/typer-add-pa-pz: Add options -pa Dir and -pz Dir to TypEr OTP-9173
2011-03-30Remove gratuitous paren in driver_entryTuncer Ayaz
2011-03-30Merge branch 'hw/call-chmod-without-f' into devHenrik Nord
* hw/call-chmod-without-f: Call chmod without the "-f" flag Conflicts: erts/emulator/test/Makefile lib/asn1/test/Makefile lib/crypto/test/Makefile lib/debugger/test/Makefile lib/docbuilder/test/Makefile lib/edoc/test/Makefile lib/erl_interface/test/Makefile lib/inviso/test/Makefile lib/parsetools/test/Makefile lib/percept/test/Makefile lib/ssl/test/Makefile lib/syntax_tools/test/Makefile lib/test_server/test/Makefile lib/tools/test/Makefile OTP-9170