diff options
author | Björn-Egil Dahlberg <[email protected]> | 2017-03-03 10:51:46 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2017-03-03 10:51:46 +0100 |
commit | 79422f489a619df0bb6fcd32ce494fb9cefdaa12 (patch) | |
tree | bd39cf79ae9ed44a5875d3f27e8184e0088574d8 /lib | |
parent | b03fffab761b99efdac70816af25f4d8df1f2a49 (diff) | |
parent | b9847009f7ca88f61adb21f4de9db54fc1c7e96a (diff) | |
download | otp-79422f489a619df0bb6fcd32ce494fb9cefdaa12.tar.gz otp-79422f489a619df0bb6fcd32ce494fb9cefdaa12.tar.bz2 otp-79422f489a619df0bb6fcd32ce494fb9cefdaa12.zip |
Merge branch 'egil/erts/sub-binary-to-heap-binary/OTP-14149'
* egil/erts/sub-binary-to-heap-binary/OTP-14149:
observer: Fix crashdump viewer testcase
erts: Refactor MOVE_CONS to inline function
erts: Refactor MOVE_BOXED to inline function
erts: Convert small sub-binaries to heap-binaries
Diffstat (limited to 'lib')
-rw-r--r-- | lib/observer/test/crashdump_helper.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/test/crashdump_helper.erl b/lib/observer/test/crashdump_helper.erl index 4239a3d0d1..e57c8162e4 100644 --- a/lib/observer/test/crashdump_helper.erl +++ b/lib/observer/test/crashdump_helper.erl @@ -44,7 +44,7 @@ n1_proc(Creator,_N2,Pid2,Port2,_L) -> Ref = make_ref(), Pid = self(), Bin = list_to_binary(lists:seq(1, 255)), - SubBin = element(1, split_binary(element(2, split_binary(Bin, 8)), 17)), + <<_:2,SubBin:17/binary,_/bits>> = Bin, register(named_port,Port), |