aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/beam_validator_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-04-07 12:43:06 +0200
committerBjörn Gustavsson <[email protected]>2016-04-08 10:28:42 +0200
commitab03678e87732407625150c202e177a85a025beb (patch)
tree881f543c0f7ca0cb099fe3eec71a7b37b0bf27be /lib/compiler/test/beam_validator_SUITE.erl
parent3c0f98c1b0e74eb58a4e4e82a3ec89dc7ecdb579 (diff)
downloadotp-ab03678e87732407625150c202e177a85a025beb.tar.gz
otp-ab03678e87732407625150c202e177a85a025beb.tar.bz2
otp-ab03678e87732407625150c202e177a85a025beb.zip
Remove unreachable code after 'raise' instructions
Remove the unreachable instructions after a 'raise' instruction (e.g. a 'jump' or 'deallocate', 'return') to decrease code size.
Diffstat (limited to 'lib/compiler/test/beam_validator_SUITE.erl')
-rw-r--r--lib/compiler/test/beam_validator_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/test/beam_validator_SUITE.erl b/lib/compiler/test/beam_validator_SUITE.erl
index d27512b6eb..b3fb091f46 100644
--- a/lib/compiler/test/beam_validator_SUITE.erl
+++ b/lib/compiler/test/beam_validator_SUITE.erl
@@ -312,7 +312,7 @@ state_after_fault_in_catch(Config) when is_list(Config) ->
no_exception_in_catch(Config) when is_list(Config) ->
Errors = do_val(no_exception_in_catch, Config),
[{{no_exception_in_catch,nested_of_1,4},
- {{move,{x,3},{x,0}},88,{uninitialized_reg,{x,3}}}}] = Errors,
+ {{move,{x,3},{x,0}},87,{uninitialized_reg,{x,3}}}}] = Errors,
ok.
undef_label(Config) when is_list(Config) ->