whoops yield in setup_one ISACaller
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 27 May 2021 17:08:12 +0000 (18:08 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 27 May 2021 17:08:12 +0000 (18:08 +0100)
src/openpower/decoder/isa/caller.py

index c343b12c1a12d839eb6c0bfa26bfb8f9c19d5814..d2c68f544532e1902e9d36398469499ccce7cda2 100644 (file)
@@ -835,7 +835,7 @@ class ISACaller:
         """set up one instruction
         """
         pc, insn = self.get_next_insn()
-        self.setup_next_insn(pc, insn)
+        yield from self.setup_next_insn(pc, insn)
 
     def setup_next_insn(self, pc, ins):
         """set up next instruction