Add a zomp preparation script

This commit is contained in:
2023-04-28 16:19:53 +09:00
parent 6ca65805bd
commit 02a6731f58
9 changed files with 43 additions and 10 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
, to_hexstring/1
]).
-include_lib("aebytecode/include/aeb_opcodes.hrl").
-include("aeb_opcodes.hrl").
pp(Asm) ->
+1 -1
View File
@@ -13,7 +13,7 @@
format_address/1
]).
-include_lib("aebytecode/include/aeb_opcodes.hrl").
-include("aeb_opcodes.hrl").
pp(Binary) ->
+1 -1
View File
@@ -16,7 +16,7 @@
, get_function_type_from_function_hash/2
, abi_version/0 ]).
-include("../include/aeb_fate_data.hrl").
-include("aeb_fate_data.hrl").
%%%===================================================================
%%% API
+2 -2
View File
@@ -94,8 +94,8 @@
, to_asm/1
]).
-include_lib("aebytecode/include/aeb_fate_opcodes.hrl").
-include_lib("aebytecode/include/aeb_fate_data.hrl").
-include("aeb_fate_opcodes.hrl").
-include("aeb_fate_data.hrl").
-define(HASH_BYTES, 32).
assemble_file(InFile, OutFile, Options) ->
+2 -2
View File
@@ -24,8 +24,8 @@
, symbols/1
]).
-include("../include/aeb_fate_opcodes.hrl").
-include("../include/aeb_fate_data.hrl").
-include("aeb_fate_opcodes.hrl").
-include("aeb_fate_data.hrl").
-export([ update_annotations/2
, update_functions/2
+2 -2
View File
@@ -22,8 +22,8 @@
-export_type([binary_value/0, heap_value/0, offset/0, heap_fragment/0]).
-include_lib("aebytecode/include/aeb_typerep_def.hrl").
-include_lib("aebytecode/include/aeb_heap.hrl").
-include("aeb_typerep_def.hrl").
-include("aeb_heap.hrl").
-type word() :: non_neg_integer().
-type pointer() :: word().
+1 -1
View File
@@ -17,7 +17,7 @@
, swap/1
]).
-include_lib("aebytecode/include/aeb_opcodes.hrl").
-include("aeb_opcodes.hrl").
%%====================================================================