diff options
author | Björn Gustavsson <[email protected]> | 2015-04-21 09:43:41 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-04-29 12:23:26 +0200 |
commit | edef41b07fea925d13f0b4eb6d122793ca9c075d (patch) | |
tree | da87e3c2a6988bf7f9122bb5a4805f5fd053c26a /lib/reltool/test/reltool_wx_SUITE.erl | |
parent | 16d97a57e5cd0f820884e4223b92f50e3ce39b01 (diff) | |
download | otp-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/reltool/test/reltool_wx_SUITE.erl')
0 files changed, 0 insertions, 0 deletions