mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-07 16:23:12 +00:00
Merge pull request #965 from mir-protocol/fix_run_constructor
Fix `run_constructor`
This commit is contained in:
commit
042c004237
@ -87,13 +87,12 @@ global create_common:
|
|||||||
|
|
||||||
run_constructor:
|
run_constructor:
|
||||||
// stack: new_ctx, value, address, kexit_info
|
// stack: new_ctx, value, address, kexit_info
|
||||||
%set_new_ctx_value
|
SWAP1 %set_new_ctx_value
|
||||||
// stack: new_ctx, address, kexit_info
|
// stack: new_ctx, address, kexit_info
|
||||||
|
|
||||||
// Each line in the block below does not change the stack.
|
// Each line in the block below does not change the stack.
|
||||||
DUP2 %set_new_ctx_addr
|
DUP2 %set_new_ctx_addr
|
||||||
%address %set_new_ctx_caller
|
%address %set_new_ctx_caller
|
||||||
%set_new_ctx_parent_ctx
|
|
||||||
%set_new_ctx_parent_pc(after_constructor)
|
%set_new_ctx_parent_pc(after_constructor)
|
||||||
// stack: new_ctx, address, kexit_info
|
// stack: new_ctx, address, kexit_info
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user