aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-10-28Merge branch 'maint'Björn Gustavsson
* maint: Don't copy funs into guards
2016-10-28Merge branch 'bjorn/compiler/minor-fixes' into maintBjörn Gustavsson
* bjorn/compiler/minor-fixes: Don't copy funs into guards
2016-10-27Merge branch 'maint'Sverker Eriksson
2016-10-27Merge branch 'sverker/purge-fix/OTP-13925' into maintSverker Eriksson
2016-10-27Don't copy funs into guardsBjörn Gustavsson
Funs must not be created in guards. The instruction for creating a fun clobbers all X registers, which is a bad thing to do in a guard.
2016-10-26erts: Avoid delayed fun undef raceSverker Eriksson
Avoid suspending fun caller not just if purge is already done but also if purge of another module has started. Another purge of the same module again cannot happen as making current to old transition includes thread progress.
2016-10-26Merge branch 'maint'Björn Gustavsson
* maint: Don't let inline_list_funcs degrade optimizations
2016-10-26Merge branch 'bjorn/compiler/inline_list_funcs/ERL-285/OTP-13985' into maintBjörn Gustavsson
* bjorn/compiler/inline_list_funcs/ERL-285/OTP-13985: Don't let inline_list_funcs degrade optimizations
2016-10-26Merge branch 'maint'Hans Bolinder
* maint: stdlib: Correct shell_default(3)
2016-10-26Merge branch 'hasse/stdlib/fix_shell_default_doc' into maintHans Bolinder
* hasse/stdlib/fix_shell_default_doc: stdlib: Correct shell_default(3)
2016-10-26stdlib: Correct shell_default(3)Hans Bolinder
2016-10-26Merge branch 'maint'Lukas Larsson
2016-10-26Merge branch 'lukas/erts/tracing/fix_dead_tracer_check/ERL-274/OTP-13928' ↵Lukas Larsson
into maint * lukas/erts/tracing/fix_dead_tracer_check/ERL-274/OTP-13928: erts: Do tracer liveness check on current tracer
2016-10-25Merge branch 'maint'Sverker Eriksson
2016-10-25erts: Correct docs for driver_selectSverker Eriksson
2016-10-25Merge branch 'maint'Hans Nilsson
2016-10-25Merge branch 'hans/inets/kostis_ftp_dialyzer_fixes/PR-1207/OTP-13982' into maintHans Nilsson
2016-10-24Merge branch 'sverker/hipe-other-64bit'Sverker Eriksson
2016-10-24Merge branch 'sverker/hipe-llvm-remote-call/OTP-13983'Sverker Eriksson
2016-10-24Merge branch 'maint'Dan Gudmundsson
* maint: Fix whitespace setting in test files Avoid some error reports when stopping mnesia wx: Improve error handling Fix all whitespace-related issues in erlang.el mnesia: Fix double blocked tables which could cause a crash wx: Add wxWindow:getContentScaleFactor
2016-10-24Merge branch 'dgud/wx/scale-factor' into maintDan Gudmundsson
* dgud/wx/scale-factor: wx: Improve error handling wx: Add wxWindow:getContentScaleFactor
2016-10-24Merge branch 'dgud/mnesia/fix-blocked/OTP-13970' into maintDan Gudmundsson
* dgud/mnesia/fix-blocked/OTP-13970: Avoid some error reports when stopping mnesia mnesia: Fix double blocked tables which could cause a crash
2016-10-24Merge branch 'dgud/tools/emacs/prefer-space/ERL-1200' into maintDan Gudmundsson
* dgud/tools/emacs/prefer-space/ERL-1200: Fix whitespace setting in test files Fix all whitespace-related issues in erlang.el
2016-10-24Fix whitespace setting in test filesDan Gudmundsson
Continuation of the previous commit on test files, which gave whitespace diffs for tabs vs spaces depending on personal settings. And we want to encourage space instead of tabs.
2016-10-24Merge branch 'maint'Björn-Egil Dahlberg
2016-10-24Merge branch 'egil/erl_interface/doc-update/OTP-13980' into maintBjörn-Egil Dahlberg
* egil/erl_interface/doc-update/OTP-13980: erl_interface: Remove CDATA tag except for example code erl_interface: Remove unused file erl_interface: Fix broken links in documentation erl_interface: Fix xmllint problems erl_interface: Fix editorial changes erl_interface: Editorial changes erl_interface: Refactor documentation
2016-10-24erl_interface: Remove CDATA tag except for example codeBjörn-Egil Dahlberg
2016-10-24erl_interface: Remove unused fileBjörn-Egil Dahlberg
2016-10-24erl_interface: Fix broken links in documentationBjörn-Egil Dahlberg
2016-10-24erl_interface: Fix xmllint problemsBjörn-Egil Dahlberg
2016-10-24erl_interface: Fix editorial changesBjörn-Egil Dahlberg
2016-10-24Don't let inline_list_funcs degrade optimizationsBjörn Gustavsson
83199af0263 refactored sys_core_fold to break out the code for the inline_lists_funcs option to its own module. Unfortunately, it also accidentally turned off compile-time evaluation of calls to BIFs with wholly or partial constant arguments. For example, the code for the following funtion gets much worse when inline_list_funcs is used: b() -> R0 = #r{}, R1 = setelement(1+2, R0, "deux"), R2 = setelement(1+3, R1, "trois"), R3 = setelement(1+5, R2, "cinq"), R4 = setelement(1+2, R3, "DEUX"), R4. ERL-285
2016-10-21Change two calls to file_close/1 to allow {error,einval}Kostis Sagonas
2016-10-21erts: Use mprotect for hipe on all arch except x86_64Sverker Eriksson
Only x86_64 needs to reserve low virtual memory for its amd64 small code model.
2016-10-21hipe,llvm: Change inc_stack_0 bif call to not_remoteSverker Eriksson
Seems to work either way, it just seem more correct as all other 'bif' calls are 'not_remote'.
2016-10-21hipe: Remove redundant assertionSverker Eriksson
2016-10-21kernel: Fix hipe compiler option to_llvmSverker Eriksson
2016-10-21kernel: Test hipe and hipe_llvm separateSverker Eriksson
in code_SUITE:upgrade. Combining both takes time.
2016-10-21Merge branch 'maint'Hans Bolinder
* maint: dialyzer: Fix error handling of bad -dialyzer() attributes
2016-10-21Merge branch 'fishcakez/dialyzer/fix_attribute_bug/ERL-283/OTP-13979' into maintHans Bolinder
* fishcakez/dialyzer/fix_attribute_bug/ERL-283/OTP-13979: dialyzer: Fix error handling of bad -dialyzer() attributes
2016-10-21dialyzer: Fix error handling of bad -dialyzer() attributesHans Bolinder
If a dialyzer module attribute references an undefined (local) function an error tuple is thrown but no caught. This leads to a 'nocatch' error and not the intended "clean" error.
2016-10-20erts: Refactor hipe config testSverker Eriksson
Just merge the two if's
2016-10-20Merge branch 'kostis/hipe_bifs-add_ref/PR-1205'Sverker Eriksson
2016-10-20Merge branch 'maint'Sverker Eriksson
2016-10-20Merge branch 'sverker/ei_connect_xinit/PR-1202/OTP-13981' into maintSverker Eriksson
* sverker/ei_connect_xinit/PR-1202: use only two low bits of creation
2016-10-20erl_interface: Editorial changesxsipewe
2016-10-20erl_interface: Refactor documentationBjörn-Egil Dahlberg
2016-10-19Eliminate unmatched return dialyzer warningsKostis Sagonas
The code contained a lot of unmatched return warnings, mostly in function calls that were executed only for their side-effects. Also, there were various places where possible errors were not checked and now they are. This may cause crashes, both in the ftp testsuite (which I have not run) and in situations were errors occur but are ignored.
2016-10-19Declare types and specsKostis Sagonas
2016-10-19Code cleanupsKostis Sagonas