From 782bcea5ce2f0ef43c53255a31651d1ef6ec47d2 Mon Sep 17 00:00:00 2001 From: Gaith Hallak Date: Sat, 18 Mar 2023 13:46:50 +0300 Subject: [PATCH] Revert "Remove is_tail_call from DBG_CALL_R" This reverts commit a620c9c34b1c0ace77253ec0eabe6ac0b8e77ad2. --- src/aeb_fate_generate_ops.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeb_fate_generate_ops.erl b/src/aeb_fate_generate_ops.erl index 5a34a8e..8cba308 100644 --- a/src/aeb_fate_generate_ops.erl +++ b/src/aeb_fate_generate_ops.erl @@ -246,7 +246,7 @@ ops_defs() -> , { 'DBG_DEF', 16#b2, false, true, true, ?GAS(0), [a, a], dbg_def, {string, any}, none, "Debug Op: Define a variable. Args = {var_name, register}" } , { 'DBG_UNDEF', 16#b3, false, true, true, ?GAS(0), [a, a], dbg_undef, {string, any}, none, "Debug Op: Undefine a variable. Args = {var_name, register}" } , { 'DBG_CALL', 16#b4, false, true, true, ?GAS(0), [a, a], dbg_call, {string, boolean}, none, "Debug Op: Push to call stack. Args = {fun_name, is_tail_call}" } - , { 'DBG_CALL_R', 16#b5, false, true, true, ?GAS(0), [a, a], dbg_call_r, {address, string}, none, "Debug Op: Push to call stack. Args = {contract_pk, fun_name}" } + , { 'DBG_CALL_R', 16#b5, false, true, true, ?GAS(0), [a, a, a], dbg_call_r, {address, string, boolean}, none, "Debug Op: Push to call stack. Args = {contract_pk, fun_name, is_tail_call}" } , { 'DBG_RETURN', 16#b6, false, true, true, ?GAS(0), [], dbg_return, {}, none, "Debug Op: Pop from call stack" } , { 'DEACTIVATE', 16#fa, false, true, true, ?GAS(10), [], deactivate, {}, none, "Mark the current contract for deactivation."}