Skip to content

Commit

Permalink
fix nonreentrancy codegen for private functions
Browse files Browse the repository at this point in the history
we should probably deprecate nonreentrant keys on private functions but
in the meantime keep them working
  • Loading branch information
charles-cooper committed Oct 2, 2021
1 parent 2ab392d commit a022c95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def generate_lll_for_internal_function(
# jump to the label which was passed in via stack
stop_func = LLLnode.from_list(["jump", "pass"], annotation="jump to return address")

enter = [["label", function_entry_label], nonreentrant_pre]
enter = [["label", function_entry_label]] + nonreentrant_pre

body = [parse_body(c, context) for c in code.body]

Expand Down

0 comments on commit a022c95

Please sign in to comment.