aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-09-23 10:35:52 +0200
committerBjörn Gustavsson <[email protected]>2015-09-28 10:26:39 +0200
commitc60b4d8ae7d6481bd02782f561fd4d9f626ea6df (patch)
treeb1bbe3154600293acb698d12afab129791f73258
parent105c5b0071056dc062797e58772e098d2a3a4627 (diff)
downloadotp-c60b4d8ae7d6481bd02782f561fd4d9f626ea6df.tar.gz
otp-c60b4d8ae7d6481bd02782f561fd4d9f626ea6df.tar.bz2
otp-c60b4d8ae7d6481bd02782f561fd4d9f626ea6df.zip
beam_type: Fix forgotten change of internal representation
30cc5c90 changed the internal representation of catch and try...catch, but beam_type was not updated in one place.
-rw-r--r--lib/compiler/src/beam_type.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/beam_type.erl b/lib/compiler/src/beam_type.erl
index 40d67d1670..6b5cf667ba 100644
--- a/lib/compiler/src/beam_type.erl
+++ b/lib/compiler/src/beam_type.erl
@@ -311,7 +311,7 @@ flt_need_heap_2({set,_,_,{get_tuple_element,_}}, H, Fl) ->
{[],H,Fl};
flt_need_heap_2({set,_,_,get_list}, H, Fl) ->
{[],H,Fl};
-flt_need_heap_2({set,_,_,{'catch',_}}, H, Fl) ->
+flt_need_heap_2({set,_,_,{try_catch,_,_}}, H, Fl) ->
{[],H,Fl};
%% All other instructions should cause the insertion of an allocation
%% instruction if needed.