aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-05-31 16:17:07 +0200
committerFredrik Gustafsson <[email protected]>2013-05-31 16:17:07 +0200
commitb2d97b781bb8f73d58700b8be224147923a1ae5d (patch)
treea2addb37b05d12f2e2a5d99959c05232aca87276 /lib/compiler
parentdf4fe8fac6425a85c5366e540b588b6e084ca798 (diff)
parent98e50c1e5542d8047ecbd9529bc6415ff9b484e1 (diff)
downloadotp-b2d97b781bb8f73d58700b8be224147923a1ae5d.tar.gz
otp-b2d97b781bb8f73d58700b8be224147923a1ae5d.tar.bz2
otp-b2d97b781bb8f73d58700b8be224147923a1ae5d.zip
Merge branch 'nox/fix-bs_put_string-renaming/OTP-11129' into maint
* nox/fix-bs_put_string-renaming/OTP-11129: Bootstrap Fix renaming of bs_put_string instructions
Diffstat (limited to 'lib/compiler')
-rw-r--r--lib/compiler/src/beam_a.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/src/beam_a.erl b/lib/compiler/src/beam_a.erl
index 1c51226314..b348e854a0 100644
--- a/lib/compiler/src/beam_a.erl
+++ b/lib/compiler/src/beam_a.erl
@@ -70,8 +70,8 @@ rename_instr({bs_put_utf16=I,F,Fl,Src}) ->
{bs_put,F,{I,Fl},[Src]};
rename_instr({bs_put_utf32=I,F,Fl,Src}) ->
{bs_put,F,{I,Fl},[Src]};
-%% rename_instr({bs_put_string,_,_}=I) ->
-%% {bs_put,{f,0},I,[]};
+rename_instr({bs_put_string,_,_}=I) ->
+ {bs_put,{f,0},I,[]};
rename_instr({bs_add=I,F,[Src1,Src2,U],Dst}) when is_integer(U) ->
{bif,I,F,[Src1,Src2,{integer,U}],Dst};
rename_instr({bs_utf8_size=I,F,Src,Dst}) ->