PT-164597852 Move aesophia heap handling into aebytecode #141

Merged
rvirding merged 6 commits from PT-164597852-move-aesophia-heap into master 2019-04-02 17:06:55 +09:00
Showing only changes of commit 0528ee1229 - Show all commits

View File

@ -3,13 +3,13 @@
val_t :: aeso_sophia:type(),
parent :: none | non_neg_integer(),
size = 0 :: non_neg_integer(),
data :: #{aeso_heap:binary_value() => aeso_heap:binary_value() | tombstone}
data :: #{aeb_heap:binary_value() => aeb_heap:binary_value() | tombstone}
| stored}).
-record(maps, { maps = #{} :: #{ non_neg_integer() => #pmap{} }
, next_id = 0 :: non_neg_integer() }).
-record(heap, { maps :: #maps{},
offset :: aeso_heap:offset(),
offset :: aeb_heap:offset(),
heap :: binary() | #{non_neg_integer() => non_neg_integer()} }).