1.1 --- a/optimiser.py Mon Jan 30 22:32:38 2017 +0100
1.2 +++ b/optimiser.py Mon Jan 30 22:34:46 2017 +0100
1.3 @@ -520,18 +520,7 @@
1.4 emit(("__test_context", context_var, accessor))
1.5
1.6 elif context_test == "replace":
1.7 -
1.8 - # Static invocation targets have a context added but no other
1.9 - # transformation performed.
1.10 -
1.11 - if final_method == "static-invoke":
1.12 - emit(("__update_context", context_var, accessor))
1.13 -
1.14 - # Other invocation targets gain a context and have the bound
1.15 - # version of the callable activated.
1.16 -
1.17 - else:
1.18 - emit(("__replace_context", context_var, accessor))
1.19 + emit(("__update_context", context_var, accessor))
1.20
1.21 elif final_method not in ("assign", "static-assign"):
1.22 emit(accessor)