aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/error_handler_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-04-21 09:43:41 +0200
committerBjörn Gustavsson <[email protected]>2015-04-29 12:23:26 +0200
commitedef41b07fea925d13f0b4eb6d122793ca9c075d (patch)
treeda87e3c2a6988bf7f9122bb5a4805f5fd053c26a /lib/kernel/test/error_handler_SUITE.erl
parent16d97a57e5cd0f820884e4223b92f50e3ce39b01 (diff)
downloadotp-edef41b07fea925d13f0b4eb6d122793ca9c075d.tar.gz
otp-edef41b07fea925d13f0b4eb6d122793ca9c075d.tar.bz2
otp-edef41b07fea925d13f0b4eb6d122793ca9c075d.zip
beam_validator: Clean up updating of types for y register
set_type_y/3 is far too complicated. Note that we don't need to check the #st.numy field, because we will detect the error anyway because the information for the y register will be missing in the #st.y gb_tree. There is also a clause that would never match because of a spelling error (the first "n" was missing in "uninitialized"). That clause is not needed because the default clause will do fine. Furthermore, we can break out the special case for handling catch_end and similar instructions into a new function.
Diffstat (limited to 'lib/kernel/test/error_handler_SUITE.erl')
0 files changed, 0 insertions, 0 deletions