Change references from aeso_memory to aeb_memory

This commit is contained in:
Robert Virding 2019-03-21 00:17:01 +01:00
parent 0d8b7c7c79
commit fd0dbdf207
2 changed files with 2 additions and 2 deletions

View File

@ -420,7 +420,7 @@ ast_body({hash, _, Hash}, _Icode) ->
#integer{value = Lo}]} #integer{value = Lo}]}
end; end;
ast_body({string,_,Bin}, _Icode) -> ast_body({string,_,Bin}, _Icode) ->
Cpts = [size(Bin) | aeso_memory:binary_to_words(Bin)], Cpts = [size(Bin) | aeb_memory:binary_to_words(Bin)],
#tuple{cpts = [#integer{value=X} || X <- Cpts]}; #tuple{cpts = [#integer{value=X} || X <- Cpts]};
ast_body({tuple,_,Args}, Icode) -> ast_body({tuple,_,Args}, Icode) ->
#tuple{cpts = [ast_body(A, Icode) || A <- Args]}; #tuple{cpts = [ast_body(A, Icode) || A <- Args]};

View File

@ -94,7 +94,7 @@ operand(T) -> T.
str_to_icode(String) when is_list(String) -> str_to_icode(String) when is_list(String) ->
str_to_icode(list_to_binary(String)); str_to_icode(list_to_binary(String));
str_to_icode(BinStr) -> str_to_icode(BinStr) ->
Cpts = [size(BinStr) | aeso_memory:binary_to_words(BinStr)], Cpts = [size(BinStr) | aeb_memory:binary_to_words(BinStr)],
#tuple{ cpts = [ #integer{value = X} || X <- Cpts ] }. #tuple{ cpts = [ #integer{value = X} || X <- Cpts ] }.
check_event_type(Icode) -> check_event_type(Icode) ->