aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/compile.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-12-07 07:11:44 +0100
committerBjörn Gustavsson <[email protected]>2011-12-07 07:11:44 +0100
commit060904e7586284f899c478c42e1075643d924517 (patch)
treef0178c60caa65d38ca3961d326cd19a4057e2428 /lib/compiler/src/compile.erl
parent54ec1e2ccc3fd9d61be6a66db807d8a7567c2313 (diff)
parent1687a490039698fab6ccabdbbd61faa5d9d5eb41 (diff)
downloadotp-060904e7586284f899c478c42e1075643d924517.tar.gz
otp-060904e7586284f899c478c42e1075643d924517.tar.bz2
otp-060904e7586284f899c478c42e1075643d924517.zip
Merge branch 'bjorn/compiler/inline-binary-matching/OTP-9770'
* bjorn/compiler/inline-binary-matching/OTP-9770: beam_validator: Fix type for failure label for bs_start_match2/5 inline_SUITE: Add the comma_splitter/1 test case Teach the compiler the 'no_dead' option
Diffstat (limited to 'lib/compiler/src/compile.erl')
-rw-r--r--lib/compiler/src/compile.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl
index 8815cfb26f..a17a10046e 100644
--- a/lib/compiler/src/compile.erl
+++ b/lib/compiler/src/compile.erl
@@ -633,7 +633,9 @@ asm_passes() ->
{iff,dbool,{listing,"bool"}},
{unless,no_topt,{pass,beam_type}},
{iff,dtype,{listing,"type"}},
- {pass,beam_dead}, %Must always run since it splits blocks.
+ {pass,beam_split},
+ {iff,dsplit,{listing,"split"}},
+ {unless,no_dead,{pass,beam_dead}},
{iff,ddead,{listing,"dead"}},
{unless,no_jopt,{pass,beam_jump}},
{iff,djmp,{listing,"jump"}},