summaryrefslogtreecommitdiff
path: root/python/examples
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2025-03-11 15:38:52 -0400
committerGlenn Smith <glenn@vector35.com>2025-03-11 15:40:12 -0400
commit1675348020724286554260961199460841497619 (patch)
tree9d2dc6f6220321e46deece66e40b8f7c8377ced5 /python/examples
parent6909062745088729439079256280688318714049 (diff)
Update RewritePushPop wf example to use new after api
Diffstat (limited to 'python/examples')
-rw-r--r--python/examples/wf_rewrite_push_pop.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/examples/wf_rewrite_push_pop.py b/python/examples/wf_rewrite_push_pop.py
index 8ae65212..005030e8 100644
--- a/python/examples/wf_rewrite_push_pop.py
+++ b/python/examples/wf_rewrite_push_pop.py
@@ -145,6 +145,5 @@ wf.register_activity(Activity(
# This action is run right after generateLiftedIL so we can poke the IL before LLIL flag and stack
# adjustment resolution happens.
-# core.function.generateLiftedIL -> (this) -> core.function.resetIndirectBranchesOnFullUpdate
-wf.insert("core.function.resetIndirectBranchesOnFullUpdate", ["extension.rewrite_push_pop.rewrite_action"])
+wf.insert_after("core.function.generateLiftedIL", ["extension.rewrite_push_pop.rewrite_action"])
wf.register()