Rename DBGLOC to DBG_LOC

This commit is contained in:
Gaith Hallak 2022-12-25 10:30:55 +03:00
parent 3446cd3df6
commit dc7a7c7d6f
3 changed files with 9 additions and 9 deletions

View File

@ -143,7 +143,7 @@
-define( 'RETURN', 16#f3).
-define( 'DELEGATECALL', 16#f4).
-define( 'DBGLOC', 16#b1).
-define( 'DBG_LOC', 16#b1).
-define( 'DBG_DEF', 16#b2).
-define( 'DBG_UNDEF', 16#b3).

View File

@ -242,7 +242,7 @@ ops_defs() ->
, { 'BSL', 16#af, false, true, true, ?GAS(10), [a, a, a], bin_sl, {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" }
, { 'DBG_LOC', 16#b1, false, true, true, ?GAS(0), [a, a, a], dbg_loc, {string, integer, integer}, none, "Arg" }
, { 'DBG_DEF', 16#b2, false, true, true, ?GAS(0), [a, a], dbg_def, {string, any}, none, "Arg" }
, { 'DBG_UNDEF', 16#b3, false, true, true, ?GAS(0), [a, a], dbg_undef, {string, any}, none, "Arg" }

View File

@ -162,7 +162,7 @@ opcode(?DELEGATECALL) -> ?DELEGATECALL;
opcode(?STATICCALL) -> ?STATICCALL; %% TODO
opcode(?REVERT) -> ?REVERT;
opcode({comment,X}) -> ?COMMENT(X);
opcode(?DBGLOC) -> ?DBGLOC;
opcode(?DBG_LOC) -> ?DBG_LOC;
opcode(?DBG_DEF) -> ?DBG_DEF;
opcode(?DBG_UNDEF) -> ?DBG_UNDEF;
opcode(?SUICIDE) -> ?SUICIDE.
@ -306,9 +306,9 @@ mnemonic(?DELEGATECALL) -> 'DELEGATECALL' ;
mnemonic(?STATICCALL) -> 'STATICCALL' ;
mnemonic(?REVERT) -> 'REVERT' ;
mnemonic({comment,_}) -> 'COMMENT' ;
mnemonic(?DBGLOC) -> 'DBGLOC' ;
mnemonic(?DBG_DEF) -> 'DBG_DEF' ;
mnemonic(?DBG_UNDEF) -> 'DBG_UNDEF' ;
mnemonic(?DBG_LOC) -> 'DBG_LOC' ;
mnemonic(?DBG_DEF) -> 'DBG_DEF' ;
mnemonic(?DBG_UNDEF) -> 'DBG_UNDEF' ;
mnemonic(?SUICIDE) -> 'SUICIDE' .
@ -452,9 +452,9 @@ m_to_op('STATICCALL') -> ?STATICCALL ;
m_to_op('REVERT') -> ?REVERT ;
m_to_op('COMMENT') -> ?COMMENT("") ;
m_to_op('SUICIDE') -> ?SUICIDE ;
m_to_op('DBGLOC') -> ?DBGLOC ;
m_to_op('DBG_DEF') -> ?DBG_DEF ;
m_to_op('DBG_UNDEF') -> ?DBG_UNDEF ;
m_to_op('DBG_LOC') -> ?DBG_LOC ;
m_to_op('DBG_DEF') -> ?DBG_DEF ;
m_to_op('DBG_UNDEF') -> ?DBG_UNDEF ;
m_to_op(Data) when 0=<Data, Data=<255
-> Data .