m1n1.proxyutils: Fix instruction cache

Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
Asahi Lina 2022-08-31 11:14:56 +09:00
parent 0aed256416
commit cb9f7cd685

View file

@ -172,6 +172,9 @@ class ProxyUtils(Reloadable):
else:
call, region = self.exec_modes[call]
if isinstance(op, list):
op = tuple(op)
if op in self.inst_cache:
func = self.inst_cache[op]
elif isinstance(op, tuple) or isinstance(op, list):