inorder.py: Moved return statements to new line.
authorAndrey Miroshnikov <andrey@technepisteme.xyz>
Thu, 31 Aug 2023 10:32:05 +0000 (10:32 +0000)
committerAndrey Miroshnikov <andrey@technepisteme.xyz>
Thu, 31 Aug 2023 10:32:05 +0000 (10:32 +0000)
src/openpower/cyclemodel/inorder.py

index a67d35d7c09662b72a9da91b7ea10bbfb3869343..c4bcc3b2abb89bc1adb07e6448c0e691d0959868 100644 (file)
@@ -188,7 +188,8 @@ class Fetch:
             self.stages[0] = None
 
     def process_instructions(self, stall, insn_trace):
-        if stall: return stall
+        if stall:
+            return stall
         insn = self.stages[0] # get current instruction
         if insn is not None:
             self.cpu.decode.add_instruction(insn) # pass on instruction
@@ -219,7 +220,8 @@ class Decode:
         self.stages[0] = None
 
     def process_instructions(self, stall):
-        if stall: return stall
+        if stall:
+            return stall
 
         if self.stages[0] is None: return stall
 
@@ -254,7 +256,8 @@ class Issue:
         self.stages[0] = None
 
     def process_instructions(self, stall):
-        if stall: return stall
+        if stall:
+            return stall
 
         if self.stages[0] is None: return stall