diff options
author | Sverker Eriksson <[email protected]> | 2014-09-17 20:49:22 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-09-17 20:49:22 +0200 |
commit | 86b7cf42011302a78cb73ec4f339a2b31af8ae9a (patch) | |
tree | ed946bbce166d1c012788522f5508ec01fa006a2 /erts/emulator/hipe | |
parent | 723fea8f585c3006aa5cbda7d33de44d054eeafa (diff) | |
parent | 933a5f071e0dc7f2051e1ccc58ca4e361db52ef4 (diff) | |
download | otp-86b7cf42011302a78cb73ec4f339a2b31af8ae9a.tar.gz otp-86b7cf42011302a78cb73ec4f339a2b31af8ae9a.tar.bz2 otp-86b7cf42011302a78cb73ec4f339a2b31af8ae9a.zip |
Merge branch 'sverk/bin-alloc-refactor'
* sverk/bin-alloc-refactor:
erts: Fix gdb command etp-carrier-blocks for 32-bit
erts: Refactor binary allocation interface to also initialize Binary
Diffstat (limited to 'erts/emulator/hipe')
-rw-r--r-- | erts/emulator/hipe/hipe_native_bif.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/erts/emulator/hipe/hipe_native_bif.c b/erts/emulator/hipe/hipe_native_bif.c index 7d343dd91e..7e8632b50d 100644 --- a/erts/emulator/hipe/hipe_native_bif.c +++ b/erts/emulator/hipe/hipe_native_bif.c @@ -330,8 +330,6 @@ char *hipe_bs_allocate(int len) Binary *bptr; bptr = erts_bin_nrml_alloc(len); - bptr->flags = 0; - bptr->orig_size = len; erts_smp_atomic_init_nob(&bptr->refc, 1); return bptr->orig_bytes; } @@ -341,7 +339,6 @@ Binary *hipe_bs_reallocate(Binary* oldbptr, int newsize) Binary *bptr; bptr = erts_bin_realloc(oldbptr, newsize); - bptr->orig_size = newsize; return bptr; } |