Fix sys_exp (#958)

This commit is contained in:
wborgeaud 2023-04-05 19:07:47 +02:00 committed by GitHub
parent 923722b1e4
commit 5ac12de990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ recursion_return:
jump
global sys_exp:
// stack: x, e, return_info
%stack (return_info, x, e) -> (x, e, return_info)
push 0
// stack: shift, x, e, return_info
%jump(sys_exp_gas_loop_enter)
@ -95,7 +95,7 @@ sys_exp_gas_loop_enter:
%charge_gas
%stack(return_info, x, e) -> (x, e, sys_exp_return, return_info)
jump exp
%jump(exp)
sys_exp_return:
// stack: pow(x, e), return_info
swap1