Rename DBGDEF and DBGUNDEF to DBG_DEF and DBG_UNDEF

This commit is contained in:
Gaith Hallak 2022-12-23 20:11:43 +03:00
parent ee4949777f
commit dd6ec9bc9b
3 changed files with 10 additions and 10 deletions

View File

@ -144,8 +144,8 @@
-define( 'DELEGATECALL', 16#f4). -define( 'DELEGATECALL', 16#f4).
-define( 'DBGLOC', 16#b1). -define( 'DBGLOC', 16#b1).
-define( 'DBGDEF', 16#b2). -define( 'DBG_DEF', 16#b2).
-define( 'DBGUNDEF', 16#b3). -define( 'DBG_UNDEF', 16#b3).
-define( 'STATICCALL', 16#fa). -define( 'STATICCALL', 16#fa).

View File

@ -243,8 +243,8 @@ ops_defs() ->
, { 'BSR', 16#b0, false, true, true, ?GAS(10), [a, a, a], bin_sr, {integer, integer}, integer, "Arg0 := Arg1 >> Arg2"} , { 'BSR', 16#b0, false, true, true, ?GAS(10), [a, a, a], bin_sr, {integer, integer}, integer, "Arg0 := Arg1 >> Arg2"}
, { 'DBGLOC', 16#b1, false, true, true, ?GAS(0), [a, a, a], dbgloc, {string, integer, integer}, none, "Arg" } , { 'DBGLOC', 16#b1, false, true, true, ?GAS(0), [a, a, a], dbgloc, {string, integer, integer}, none, "Arg" }
, { 'DBGDEF', 16#b2, false, true, true, ?GAS(0), [a, a], dbgdef, {string, any}, none, "Arg" } , { 'DBG_DEF', 16#b2, false, true, true, ?GAS(0), [a, a], dbg_def, {string, any}, none, "Arg" }
, { 'DBGUNDEF', 16#b3, false, true, true, ?GAS(0), [a, a], dbgundef, {string, any}, none, "Arg" } , { 'DBG_UNDEF', 16#b3, false, true, true, ?GAS(0), [a, a], dbg_undef, {string, any}, none, "Arg" }
, { 'DEACTIVATE', 16#fa, false, true, true, ?GAS(10), [], deactivate, {}, none, "Mark the current contract for deactivation."} , { 'DEACTIVATE', 16#fa, false, true, true, ?GAS(10), [], deactivate, {}, none, "Mark the current contract for deactivation."}
, { 'ABORT', 16#fb, true, true, true, ?GAS(10), [a], abort, {string}, none, "Abort execution (dont use all gas) with error message in Arg0."} , { 'ABORT', 16#fb, true, true, true, ?GAS(10), [a], abort, {string}, none, "Abort execution (dont use all gas) with error message in Arg0."}

View File

@ -163,8 +163,8 @@ opcode(?STATICCALL) -> ?STATICCALL; %% TODO
opcode(?REVERT) -> ?REVERT; opcode(?REVERT) -> ?REVERT;
opcode({comment,X}) -> ?COMMENT(X); opcode({comment,X}) -> ?COMMENT(X);
opcode(?DBGLOC) -> ?DBGLOC; opcode(?DBGLOC) -> ?DBGLOC;
opcode(?DBGDEF) -> ?DBGDEF; opcode(?DBG_DEF) -> ?DBG_DEF;
opcode(?DBGUNDEF) -> ?DBGUNDEF; opcode(?DBG_UNDEF) -> ?DBG_UNDEF;
opcode(?SUICIDE) -> ?SUICIDE. opcode(?SUICIDE) -> ?SUICIDE.
@ -307,8 +307,8 @@ mnemonic(?STATICCALL) -> 'STATICCALL' ;
mnemonic(?REVERT) -> 'REVERT' ; mnemonic(?REVERT) -> 'REVERT' ;
mnemonic({comment,_}) -> 'COMMENT' ; mnemonic({comment,_}) -> 'COMMENT' ;
mnemonic(?DBGLOC) -> 'DBGLOC' ; mnemonic(?DBGLOC) -> 'DBGLOC' ;
mnemonic(?DBGDEF) -> 'DBGDEF' ; mnemonic(?DBG_DEF) -> 'DBG_DEF' ;
mnemonic(?DBGUNDEF) -> 'DBGUNDEF' ; mnemonic(?DBG_UNDEF) -> 'DBG_UNDEF' ;
mnemonic(?SUICIDE) -> 'SUICIDE' . mnemonic(?SUICIDE) -> 'SUICIDE' .
@ -453,8 +453,8 @@ m_to_op('REVERT') -> ?REVERT ;
m_to_op('COMMENT') -> ?COMMENT("") ; m_to_op('COMMENT') -> ?COMMENT("") ;
m_to_op('SUICIDE') -> ?SUICIDE ; m_to_op('SUICIDE') -> ?SUICIDE ;
m_to_op('DBGLOC') -> ?DBGLOC ; m_to_op('DBGLOC') -> ?DBGLOC ;
m_to_op('DBGDEF') -> ?DBGDEF ; m_to_op('DBG_DEF') -> ?DBG_DEF ;
m_to_op('DBGUNDEF') -> ?DBGUNDEF ; m_to_op('DBG_UNDEF') -> ?DBG_UNDEF ;
m_to_op(Data) when 0=<Data, Data=<255 m_to_op(Data) when 0=<Data, Data=<255
-> Data . -> Data .