diff options
author | John Högberg <[email protected]> | 2019-02-19 17:05:41 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2019-02-21 12:13:06 +0100 |
commit | fb52e4790257f5f8f3cc2d214b5f633e613ed932 (patch) | |
tree | 6121cca83e3b87a990ba0ccd7e64fd40a7911c1c /lib/compiler/test | |
parent | 35a6b4336f0d850189207d3b627c5f51b8106026 (diff) | |
download | otp-fb52e4790257f5f8f3cc2d214b5f633e613ed932.tar.gz otp-fb52e4790257f5f8f3cc2d214b5f633e613ed932.tar.bz2 otp-fb52e4790257f5f8f3cc2d214b5f633e613ed932.zip |
beam_validator: Refactor try/catch handling
Diffstat (limited to 'lib/compiler/test')
-rw-r--r-- | lib/compiler/test/beam_validator_SUITE.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/compiler/test/beam_validator_SUITE.erl b/lib/compiler/test/beam_validator_SUITE.erl index 585d0e7191..cdf420aee5 100644 --- a/lib/compiler/test/beam_validator_SUITE.erl +++ b/lib/compiler/test/beam_validator_SUITE.erl @@ -211,16 +211,16 @@ bad_catch_try(Config) when is_list(Config) -> Errors = do_val(bad_catch_try, Config), [{{bad_catch_try,bad_1,1}, {{'catch',{x,0},{f,3}}, - 5,{invalid_store,{x,0},{catchtag,[3]}}}}, + 5,{invalid_tag_register,{x,0}}}}, {{bad_catch_try,bad_2,1}, {{catch_end,{x,9}}, - 8,{source_not_y_reg,{x,9}}}}, + 8,{invalid_tag_register,{x,9}}}}, {{bad_catch_try,bad_3,1}, - {{catch_end,{y,1}},9,{bad_type,{atom,kalle}}}}, + {{catch_end,{y,1}},9,{invalid_tag,{y,1},{atom,kalle}}}}, {{bad_catch_try,bad_4,1}, - {{'try',{x,0},{f,15}},5,{invalid_store,{x,0},{trytag,[15]}}}}, + {{'try',{x,0},{f,15}},5,{invalid_tag_register,{x,0}}}}, {{bad_catch_try,bad_5,1}, - {{try_case,{y,1}},12,{bad_type,term}}}, + {{try_case,{y,1}},12,{invalid_tag,{y,1},term}}}, {{bad_catch_try,bad_6,1}, {{move,{integer,1},{y,1}},7, {invalid_store,{y,1},{integer,1}}}}] = Errors, |